home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / msz0626.arc / DSZ.DOC < prev    next >
Text File  |  1990-06-26  |  117KB  |  3,482 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      CONTENTS
  6.  
  7.  
  8.       1.  TUTORIAL INTRODUCTION..........................................   2
  9.  
  10.       2.  CALLING DSZ FROM COMM PROGRAMS.................................   3
  11.           2.1    Ms-Kermit 3.00..........................................   3
  12.           2.2    PROCOMM PLUS............................................   3
  13.           2.3    Qmodem..................................................   4
  14.           2.4    PROCOMM.................................................   5
  15.           2.5    GT POWER 13.00/14.00....................................   5
  16.           2.6    BULLETIN BOARDS.........................................   5
  17.  
  18.       3.  DESCRIPTION....................................................   7
  19.  
  20.       4.  COMMANDS.......................................................   9
  21.           4.1    List of Commands........................................   9
  22.           4.2    Interrupt Keys..........................................  14
  23.  
  24.       5.  NUMERIC PARAMETERS.............................................  15
  25.  
  26.       6.  ENVIRONMENT VARIABLES..........................................  18
  27.  
  28.       7.  EXIT STATUS....................................................  22
  29.  
  30.       8.  EXAMPLES.......................................................  23
  31.  
  32.       9.  BACKGROUND OPERATION...........................................  24
  33.  
  34.      10.  FLOW CONTROL...................................................  26
  35.  
  36.      11.  ERROR MESSAGES.................................................  27
  37.           11.1   Got ZRPOS...............................................  28
  38.           11.2   Serial Input Error: Line Status Register xx ............  29
  39.           11.3   No Carrier Detect.......................................  31
  40.           11.4   Port %d (%X) defective..................................  31
  41.           11.5   COMMAND NOT FOUND.......................................  31
  42.           11.6   Out of Environment......................................  31
  43.  
  44.      12.  SLOW TRANSFERS.................................................  33
  45.  
  46.      13.  IN CASE OF DIFFICULTY..........................................  34
  47.           13.1   LOCKUPS.................................................  34
  48.                  13.1.1   Insufficient Memory  34
  49.                  13.1.2   Environment TOO BIG  34
  50.                  13.1.3   Bad COM Port Configuration  34
  51.           13.2   Incorrect Batch Files...................................  35
  52.           13.3   Cheap Internal Modems...................................  35
  53.           13.4   Commands Entered in Upper Case..........................  35
  54.           13.5   No Carrier Detect.......................................  36
  55.           13.6   PKARC 3.6...............................................  36
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.           13.7   DOS 3.x.................................................  36
  65.           13.8   Perstor Controllers.....................................  36
  66.           13.9   IBM PS/2 Model 50Z......................................  36
  67.           13.10  Brain Damaged UARTS.....................................  37
  68.                  13.10.1  Everex Internal Modems  37
  69.           13.11  Weird Iron..............................................  37
  70.           13.12  Will the real YMODEM please stand up?...................  38
  71.           13.13  286 and 386 Extended Memory.............................  38
  72.           13.14  Disk Caches.............................................  38
  73.  
  74.      14.  ASSOCIATED DOCUMENTS...........................................  39
  75.  
  76.      15.  FILES..........................................................  40
  77.  
  78.      16.  Other Omen Technology Products.................................  42
  79.           16.1   Professional-YAM COMMS TOOLS............................  42
  80.           16.2   ZCOMM: Industrial Strength COMMS Shareware..............  42
  81.           16.3   ZMODEM Developer's Collection...........................  42
  82.  
  83.      17.  FAIR PLAY......................................................  43
  84.           17.1   Sharing DSZ Files.......................................  43
  85.           17.2   REGISTRATION............................................  45
  86.           17.3   Files on Registration Disk..............................  46
  87.           17.4   Bulletin Board Registration.............................  47
  88.  
  89.      18.  CHANGES........................................................  49
  90.  
  91.      19.  ACKNOWLEDGEMENTS...............................................  56
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.                                   Chuck Forsberg
  125.  
  126.                                Omen Technology Inc
  127.  
  128.  
  129.                                      ABSTRACT
  130.  
  131.  
  132.  
  133.                    ZMODEM-90(TM) - Not just another XMODEM hack
  134.  
  135.      DSZ is one of many available programs that implement the ZMODEM file
  136.      transfer protocol.
  137.  
  138.      DSZ's ZMODEM provides advanced file management features including two
  139.      levels of Intelligent Crash Recovery(TM), and flexible control of
  140.      selective file transfers.  Omen Technology's Professional-YAM
  141.      Communications Tools also provide security verified command downloading.
  142.  
  143.      The ZMODEM file transfer protocol provides reliable file and command
  144.      transfers with complete END-TO-END data integrity between application
  145.      programs.  DSZ's 32 bit CRC protects against errors that sneak by "error
  146.      free" modems and even the most advanced networks.
  147.  
  148.      ZMODEM safeguards all data and supervisory information with effective
  149.      error detection.  (XMODEM and many recently introduced protocols do not
  150.      protect vital supervisory data.)
  151.  
  152.      ZMODEM rapidly transfers files, particularly with buffered (error
  153.      correcting) modems, timesharing systems, satellite relays, and wide area
  154.      packet switched networks.  ZMODEM's streaming operation eliminates
  155.      delays caused by Kermit/XMODEM/YMODEM/JMODEM block acknowledgements.
  156.      ZMODEM eliminates the classic XMODEM/YMODEM/JMODEM PACKET LENGTH
  157.      compromises between transfer efficiency and error recovery.  ZMODEM's
  158.      packet length is the entire file.
  159.  
  160.      User Friendliness is an important ZMODEM feature.  ZMODEM AutoDownloadm
  161.      (Automatic file Download without user intervention) provides a level of
  162.      convenience unimaginable to users of traditional protocols.
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.        DSZ - a ZMODEM-90(TM), True YMODEM(TM), XMODEM File Transfer Program
  179.  
  180.  
  181.                                Omen Technology Inc
  182.  
  183.  
  184.                            Omen Technology Incorporated
  185.                           The High Reliability Software
  186.  
  187.                        17505-V Northwest Sauvie Island Road
  188.                               Portland Oregon 97231
  189.                TeleGodzilla BBS: 503-621-3746 Speed 1200,2400,19200
  190.                                 FAX: 503-621-3735
  191.                          CompuServe:70007,2304  GEnie:CAF
  192.                         UUCP: ...!tektronix!reed!omen!caf
  193.  
  194.      *************************************************************************
  195.      There's something special about DSZ registration.  With most programs,
  196.      registration applies only to the current version.  DSZ isn't like that.
  197.  
  198.      DSZ registration bypasses the shareware announcement and unlocks the
  199.      advanced features in all past and future versions of DSZ.  You don't
  200.      have to pay and pay again for new versions.  Omen's Demand Upgrade(TM)
  201.      technology allows you to download and activate future DSZ versions
  202.      without further registration!
  203.      *************************************************************************
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.      Chapter 1 Pg 2        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  238.  
  239.  
  240.      1.  TUTORIAL INTRODUCTION
  241.  
  242.      If you have difficulty getting DSZ to work, please follow the procedure
  243.      given below.
  244.  
  245.      Do not run any TSR or other COMM program.  Reboot a clean DOS if
  246.      necessary.
  247.  
  248.      Start with the following command given directly from the DOS prompt:
  249.  
  250.              dsz port 1 speed 2400 d t
  251.  
  252.      Type it exactly as it appears above; do NOT use upper case.
  253.  
  254.      (Change the port number and speed as necessary.  Use only COM1 or COM2
  255.      for testing.)
  256.  
  257.      This connects you to the modem.  Dial a bulletin board by typing AT
  258.      commands to the modem ("ATDP621-3746 <enter>")[1] to make it dial the
  259.      BBS.  Log in as usual.  Then, request a ZMODEM download of a file you
  260.      don't already have.  The file will download automatically, you don't
  261.      have to do anything.  This procedure verifies the correct operation of
  262.      DSZ.
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.      __________
  287.  
  288.       1. If your modem has a non standard setting the ATDT621-3746 command
  289.          you type to the modem may not echo on the screen.
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.      Chapter 2 Pg 3        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  297.  
  298.  
  299.      2.  CALLING DSZ FROM COMM PROGRAMS
  300.  
  301.      It may be necessary to give a
  302.  
  303.      SET COMSPEC=A:\COMMAND.COM
  304.  
  305.      (change as needed) in your AUTOEXEC.BAT file to allow programs to call
  306.      DSZ.
  307.  
  308.      Note: NO SPACES in the SET command!
  309.  
  310.      2.1  Ms-Kermit 3.00
  311.  
  312.      The "push" command (^[p) in MS-Kermit 3.00 sends an XOFF character to
  313.      the modem before calling DOS.
  314.  
  315.      Using this to activate DSZ's term mode with a "dsz t" command causes
  316.      most remote hosts to stop.  The remote host can be un-wedged by
  317.      keyboarding XON (Ctrl-Q) from DSZ's terminal mode.
  318.  
  319.  
  320.      2.2  PROCOMM PLUS
  321.  
  322.      DSZ may not operate properly when called from ProComm if ProComm has
  323.      files open at the time.
  324.  
  325.      Make sure the DSZ program is in your search path.  If you don't see DSZ
  326.      announce itself when called from ProComm, DSZ is not in your search
  327.      path.
  328.  
  329.      COM3 and COM4 on Procomm are non standard; in case of difficulty use
  330.      COM1 or COM2 or read this document carefully.
  331.  
  332.      Here are some handy settings for ProComm Plus.
  333.  
  334.      First, set the DOS environment as necessary before running ProComm.
  335.      Give these commands to DOS before running ProComm.
  336.  
  337.      Note: NO SPACES in the SET command!
  338.      SET DSZPORT=2           (Only needed for COM2)
  339.      SET DSZLOG=DSZ.LOG      (Only if you wish a log file)
  340.  
  341.      Then set ProComm's external protocol strings to:
  342.      A- External protocol 1 upload filename:  ZMODEMU
  343.      B- External protocol 1 download filename: ZMODEMD
  344.      C- External protocol 2 download filename: ZMODEMMD
  345.  
  346.      The following batch files are included in the DSZ zipfile:
  347.      ZMODEMU.BAT contains:   DSZ sz %1 %2 %3 %4 %5 %6 %7 %8 %9
  348.      ZMODEMD.BAT contains:   DSZ rz
  349.      ZMODEMDR.BAT contains:   DSZ rz -r
  350.  
  351.  
  352.  
  353.  
  354.  
  355.      Chapter 2 Pg 4        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  356.  
  357.  
  358.      ZMODEMMD.BAT contains:   DSZ rz -mr
  359.      ZMODEMAD.BAT contains:  DSZ t
  360.  
  361.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  362.  
  363.      When sending (uploading) files with ZMODEMU.BAT give the ProComm window
  364.      the full pathname (c:/foo/bar/file.ext) for *each* file not residing in
  365.      the current directory.
  366.  
  367.      Once you've got the hang of things the "ProComm way", try the "dsz t"
  368.      command described above to give you automatic ZMODEM downloads (Look Ma,
  369.      no keystrokes!!!)..
  370.  
  371.      2.3  Qmodem
  372.  
  373.      If you define a protocol with 'Z' as its letter, the latest Qmodem will
  374.      detect automatic ZMODEM downloads.
  375.  
  376.      The following is based on a message from Mike Cody, sysop of HomePlate
  377.      313-385-9969 3/12/24/96 HST
  378.  
  379.      Go into Qinstall and go to frame 3 Directories. Then select External
  380.      protocols #3 I think. Now you will see a definition area to tell Qmodem
  381.      the Letter,batchfile combo to use.
  382.  
  383.      Now put Z in the letter definition, Zup.bat in the u/l batch zdown.bat
  384.      in the d/l batch, and Y in the batch protocol. Now save it at the menu
  385.      with f10 and S.
  386.  
  387.      Then go to DOS and create the following batch files in your Qmodem
  388.      directory...
  389.  
  390.      zdown.bat: DSZ port %2 speed %1 rz -rr
  391.  
  392.      zmdown.bat: DSZ port %2 speed %1 rz -mrr        ((FOR MOBYTURBO!!))
  393.  
  394.      zup.bat: DSZ port %2 speed %1 sz %3
  395.  
  396.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  397.  
  398.      These are the batch files that will be called by Qmodem.  If you did
  399.      everything right when you hit PGDN or PGUP you will see an external
  400.      protocol called Z) Zmodem in the box. For an easier time do a search for
  401.      either External.arc or maybe the string "Qmodem" in the file database as
  402.      there is a file with several external protocols and batch files
  403.      available in the Mahoney file section (EXEC BBS).
  404.  
  405.      The following batch files for Qmodem are included in the DSZ zipfile:
  406.  
  407.      ZDOWN.BAT contains:     DSZ port %2 speed %1 rz -rr
  408.      ZUP.BAT contains:       DSZ port %2 speed %1 sz %3
  409.  
  410.  
  411.  
  412.  
  413.  
  414.      Chapter 2 Pg 5        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  415.  
  416.  
  417.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  418.  
  419.  
  420.      2.4  PROCOMM
  421.  
  422.      DSZ may not operate properly when called from ProComm if ProComm has
  423.      files open at the time.
  424.  
  425.      A number of reports have been received of problems running DSZ from
  426.      ProComm Plus because of insufficient memory.  Please refer to the
  427.      subchapter on LOCKUPS.
  428.  
  429.      When running under ProComm's Host mode, failure to use the DSZ CON
  430.      command may cause ProComm to lock up the computer, or at least interfere
  431.      with file transfers, etc.
  432.  
  433.      EXAMPLE: DSZ CON sz %1
  434.  
  435.  
  436.      A number of third party programs have been developed to provide a
  437.      congenial interface to DSZ if you have enough memory to spare.  The POE,
  438.      PCALL, DSZ_ZAP, and PROZ programs have been popular in interfacing DSZ
  439.      to ProComm's editor gateway.  These programs are available on many
  440.      bulletin boards.
  441.  
  442.      Hint: the DOS PATH environment variable must include ProComm's directory
  443.      to allow POE to locate all the POE files,.  The POE files should be
  444.      stored in the ProComm directory.  Setting the "PROCOMM" environment
  445.      variable is insufficient.
  446.  
  447.  
  448.      2.5  GT POWER 13.00/14.00
  449.  
  450.      GT Power version 13/14 includes a YMRX.BAT (YMODEM-g receive) file with
  451.      an "rz" command.  You guessed it, "rz" is for ZMODEM protocol (the z
  452.      means ZMODEM!).  Please change the file to use the correct "rb -g" for
  453.      YMODEM-g.
  454.  
  455.      The files ZMTX.ARC and GT1300.NOT available on many bulletin boards
  456.      contain useful information for GT Power users.
  457.  
  458.      2.6  BULLETIN BOARDS
  459.  
  460.      When installing DSZ on a bulletin board or host system, be sure to check
  461.      for proper operation when the caller hangs up while a file is being sent
  462.      or received.
  463.  
  464.      Currently, Only the TurboC version supports file sharing (shared read
  465.      access on files sent by  dsz).
  466.  
  467.      Some bulletin board interface routines do not call DSZ to send a file
  468.  
  469.  
  470.  
  471.  
  472.  
  473.      Chapter 2 Pg 6        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  474.  
  475.  
  476.      until they have verified the file's presence by opening the file.  If
  477.      this checking is done in DOS's default exclusive open mode, dsz's file
  478.      sharing will be defeated.
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      Chapter 3 Pg 7        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  533.  
  534.  
  535.      3.  DESCRIPTION
  536.  
  537.      DSZ is a "protocol driver" that uses ZMODEM-90(TM), True YMODEM(TM), or
  538.      XMODEM to transfer files over a serial port with a variety of programs.
  539.  
  540.      DSZ has two main commands for ZMODEM transfers: "sz" sends file(s), and
  541.      "rz" receives them.
  542.  
  543.      When calling bulletin boards to download files with ZMODEM you can avoid
  544.      the bother of starting DSZ for each transfer by calling DSZ first,
  545.      before asking the BBS for the download.
  546.  
  547.              dsz t
  548.  
  549.      The "t" command allows you to keyboard the file request directly to the
  550.      BBS.  (The "t" stands for "terminal emulation".) Just give the "dsz t"
  551.      command from DOS or your comms program's DOS GATEWAY.  DSZ's ZMODEM
  552.      AutoDownload then receives the file automatically, using the filename
  553.      provided by the BBS, without any wasted keystrokes or delay.  Try it,
  554.      you'll like it!  (The "t" command is described below.)
  555.  
  556.      YMODEM downloads are almost as easy.  Use the "t" command as shown
  557.      above, and hit the F3 key after telling the board to download a file
  558.      with YMODEM.
  559.  
  560.      ZMODEM and True YMODEM(TM) transfers preserve exact file length and
  561.      modification time.
  562.  
  563.      DSZ supports XMODEM-1k (XMODEM with 1024 byte blocks, sometimes
  564.      mislabeled as ymodem) and CRC-16 with the sx -k and rc commands.
  565.  
  566.      DSZ is derived from Omen Technology's "Professional-YAM" high
  567.      reliability communications tools (also known as PowerCom(TM)) and Omen
  568.      Technology's ZCOMM User Supported Communications Software.  DSZ supports
  569.      a subset of Pro-YAM's file transfer related commands.  This
  570.      documentation makes extensive references to contemporary editions of the
  571.      Pro-YAM or ZCOMM manual, and is incomplete without it.  (Registered
  572.      copies include an alternate, copyrighted file.)
  573.  
  574.      DSZ is usually called from a communications or bulletin board program.
  575.  
  576.      DSZ uses its own modem I/O.  The original interrupt vector, UART parity,
  577.      and interrupt configuration are restored on exit.  The original state of
  578.      the 8259 interrupt mask bit for this vector is also restored on exit.
  579.  
  580.      DSZ uses DOS standard output (stdout) for messages.  DSZ never writes
  581.      directly to the screen.  DSZ expects its standard output to point to the
  582.      console, a logging file, or NUL, but never the modem port.  If dsz's
  583.      standard output is redirected to the modem (as with ProComm's Host mode
  584.      DOS shell), the combination will lock up the computer.  When necessary,
  585.      dsz's standard output can be redirected back to the console device with
  586.  
  587.  
  588.  
  589.  
  590.  
  591.      Chapter 3 Pg 8        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  592.  
  593.  
  594.      the CON command.
  595.  
  596.      Users of pcAnywhere must use dsz's A command to disable pcAnywhere host
  597.      mode during file transfers.
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.      Chapter 3 Pg 9        DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  651.  
  652.  
  653.      4.  COMMANDS
  654.  
  655.            ***********************************************************
  656.                                     NOTE WELL
  657.       Except as noted, all commands and options must be typed in lower case.
  658.                              DO NOT USE UPPER CASE!!
  659.                                Case is significant!
  660.            ***********************************************************
  661.  
  662.      Optional commands or arguments are shown in square brackets [].
  663.  
  664.      When used (in any combination), the A, CON, port, speed, handshake,
  665.      estimate, and d commands must be used in exactly this order.
  666.  
  667.      dsz [A] [CON] [port N] [speed S] [handshake XX] [D] [d] [restrict]
  668.      command
  669.  
  670.  
  671.      4.1  List of Commands
  672.  
  673.      A     Suspend pcAnywhere operation during file transfers.  The A command
  674.            is used to avoid lockups caused by pcAnywhere host mode.  This
  675.            command should be given to the DSZ running under pcAnywhere host
  676.            mode.
  677.  
  678.            EXAMPLE: C>dsz A sz *.foo Sends files from a pcAnywhere hosted
  679.            machine to you.
  680.  
  681.  
  682.            Fm: Al de la Torre
  683.  
  684.            1 sending from host to remote
  685.                   type: "dsz A sz filename.ext" ENTER
  686.                   shell to dos on remote machine (ctrl-Rshift)
  687.                   type: "dsz A rz" ENTER
  688.  
  689.            2 sending from remote to host
  690.                   type: "dsz A rz" ENTER
  691.                   shell to dos on remote machine (ctrl-Rshift)
  692.                   type: "dsz A sz filename.ext" ENTER
  693.  
  694.  
  695.      CON   Redirect  message  output  to  the  DOS  "CON"  (console)  device,
  696.            overriding  any previous redirections.  This is necessary to avoid
  697.            lockups caused by ProComm host mode.  Most programs do not require
  698.            this hack.  This command is unique to DSZ.
  699.  
  700.      port N select port N (n =  1,2,3,4,5,6,7,8,  10,11,12,13,14,15,16,17,18)
  701.            Default  is port 1 (COM1) or read from the DSZPORT dos environment
  702.            variable.  COM11 to COM18 refer to the COM1 to COM8 ports  on  the
  703.            PS/2.
  704.  
  705.  
  706.  
  707.  
  708.  
  709.      Chapter 4 Pg 10       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  710.  
  711.  
  712.            *****************************************************************
  713.                                           NOTE
  714.            Only COM1 and COM2 are standard on all  PC  compatible  computers.
  715.            Multiple  standards  exist for COM3 and above, so use only COM1 or
  716.            COM2 when first installing DSZ.
  717.            *****************************************************************
  718.  
  719.            DSZ COM3 uses 3E8 and IRQ4.  DSZ COM4 uses 2E8 and IRQ3.
  720.  
  721.            DSZ COM7 uses 2E8 and IRQ5.  DSZ COM8 uses 3E8 and IRQ5.
  722.  
  723.            If you wish to use COM3 or COM4 and your  computer  is  not  wired
  724.            according  to  one  of  these  choices,  you  MUST use the "portx"
  725.            command to specify base address and interrupt vector.
  726.  
  727.            EXAMPLE: to use COM2:
  728.            dsz port 2 rz
  729.  
  730.            In multitasking  operation,  accessing  a  port  used  by  another
  731.            running program will hang the machine.
  732.  
  733.  
  734.      portx base,irq To select an arbitrary port address and interrupt vector,
  735.            the  portx  command  must  be  used  instead  of the port command.
  736.            Please refer to DSZBG.DOC (provided on the Registration  Diskette)
  737.            or  the  Professional-YAM  or  ZCOMM  (ZCOMMDOC.ZIP)  manuals  for
  738.            details on this command.
  739.  
  740.            EXAMPLE: dsz portx 3e8,4 speed 2400 rz
  741.  
  742.  
  743.      speed S Set the specified speed.  This command is rarely needed because
  744.            DSZ reads the port's current speed by default.  Please refer to
  745.            the FLOW CONTROL, MAIN COMMANDS and SOFTWARE COEXISTENCE chapters
  746.            in DSZBG.ZOO or the ZCOMM or Pro-YAM manual for important
  747.            information about the speed command.
  748.  
  749.            Please study all the chapters of this document when using speeds
  750.            above 2400 bps.
  751.  
  752.            Officially, DSZ supports a maximum speed of 38400.  However, you
  753.            are welcome to experiment with higher speeds up to 115200.
  754.  
  755.  
  756.      handshake XX Enable one of several choices of hardware handshake.  (The
  757.            default is XOFF/XON software handshake).  This command is
  758.            documented in the ZCOMM or Pro-YAM manual, and in DSZBG.DOC.  (The
  759.            ZCOMM manual is available on all bulletin boards registered for
  760.            DSZ as ZCOMMDOC.ZIP.) On DSZ the "handshake" command may be
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.      Chapter 4 Pg 11       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  769.  
  770.  
  771.            abbreviated to "ha".
  772.  
  773.      D     Disables the modem (drops Data Terminal Ready, DTR) if carrier is
  774.            lost.  This may be used to prevent spurious events (phone ringing)
  775.            from interfering with the calling bulletin board's recovery from
  776.            carrier loss.
  777.  
  778.      d     Disables carrier dropout monitoring, for modems that do not
  779.            properly drive the "Carrier Detect" input on the PC.  If you see a
  780.            No Carrier Detect message, you need to give the d command.  Before
  781.            using the d command, make sure you have the proper port
  782.            selected!!!
  783.  
  784.  
  785.      estimate length [speed] Use the specified length and optional specified
  786.            effective transfer speed for the next receive file to be created.
  787.            This command must come after any port, speed, or handshake
  788.            commands.  Please refer to DSZBG.ZOO or the ZCOMM User's manual
  789.            for details.
  790.  
  791.            The following makes DSZ calculate file transfer times on the basis
  792.            of 290 character per second aggregate transfer rate:
  793.  
  794.            EXAMPLE: dsz port 2 speed 9600 estimate 0 2900 rz
  795.  
  796.  
  797.  
  798.            EXAMPLE: dsz port 2 speed 9600 estimate 0 2900 sz bigmama.zip
  799.  
  800.  
  801.  
  802.      pxN   Set a numeric parameter x to N.  These parameters are mostly a
  803.            subset of the Pro-YAM/ZCOMM numeric parameters, and are listed
  804.            below.  They assume their defaults each time DSZ is called.
  805.            Without an argument, p displays the numeric parameters and their
  806.            values.
  807.  
  808.            EXAMPLE: C>dsz p
  809.  
  810.            z pxN Set zmodem numeric parameter x to N.  These parameters
  811.            correspond to the Pro-YAM or ZCOMM "zmodem" parameters and rarely
  812.            need changing.  These parameters assume their defaults each time
  813.            DSZ is called.  Without an argument, z p displays the zmodem
  814.            numeric parameters and their values.
  815.  
  816.  
  817.      restrict Restrict incoming pathnames (YMODEM/ZMODEM) to the current disk
  818.            and directory tree, and disallow modification or overwriting of
  819.            existing files.  The restrict command causes partially received
  820.            files to be deleted.  When DSZ is restricted, it will refuse to
  821.            transfer files containing the string autoexec.bat and command.com
  822.  
  823.  
  824.  
  825.  
  826.  
  827.      Chapter 4 Pg 12       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  828.  
  829.  
  830.            in upper or lower case.  This provides some defense from malicious
  831.            uploaded files.
  832.  
  833.            EXAMPLE: dsz restrict rz
  834.  
  835.  
  836.      t     [-T] [-8g] Talk with ZMODEM AutoDownload.
  837.  
  838.            The optional -T forces DSZ to exit after it has recognized a
  839.            ZMODEM AutoDownload(TM) request.
  840.  
  841.            The optional -8g (available on registered copies only) enables
  842.            reception of "BBS (ANSI) graphics" displays.  (A video device
  843.            driver such as ANSI.SYS must be loaded to support some types of
  844.            graphics.)
  845.  
  846.            A small subset of ZCOMM/Pro-YAM term function subcommands are
  847.            recognized:
  848.  
  849.            Keyboard F1 or ALT-X to exit.
  850.  
  851.            F3 receives file(s) with True YMODEM(TM),
  852.  
  853.            ALT-P toggles parity between the 8n default and 8g (enables ANSI
  854.            "graphics").
  855.  
  856.            ALT-H toggles two local echo ("Half Duplex") modes; the second
  857.            displays a newline (CR/LF) when Enter is keyboarded.
  858.  
  859.            Keyboarded ASCII characters are sent to the modem.
  860.  
  861.            ALT-B sends a break.
  862.  
  863.            Characters from the modem print on the screen.  A device driver
  864.            such as ANSI.SYS may be used to recognize escape sequences.
  865.  
  866.            DSZ's ZMODEM AutoDownload(TM) detects the start of a ZMODEM file
  867.            download and accepts the file(s) without operator intervention.
  868.  
  869.      rz    [-abeEmMnpPrt+YZy] [dir] [file ...]     (ZMODEM-90 receive) **
  870.  
  871.      rz    [-abenprt+Yy] [dir] [file ...]          (ZMODEM receive) **
  872.  
  873.      rb    [-abt+y] [dir] [file ...]     (YMODEM receive) **
  874.  
  875.      rb -g [-abt+y] [dir] [file ...]     (YMODEM-g receive) **
  876.  
  877.      rc    [-abt+y] file1                (XMODEM/CRC receive)
  878.  
  879.      ro    [-abt+y] file1                (XMODEM OverThruster receive)
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.      Chapter 4 Pg 13       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  887.  
  888.  
  889.      rx    [-abt+y] file1                (XMODEM receive)
  890.  
  891.      rx -g [-abt+y] file1                (Qmodem-G receive) **
  892.  
  893.            ** Download directory specification and -g ignored w/o
  894.            registration
  895.  
  896.  
  897.      sz    [-abefnprtFYQS+yZ] [-w[N]]  [PREFIX=p | ONAME=n] file ...(ZMODEM
  898.            send)
  899.  
  900.      sz    [-abeEfmMnpPrtFYQS+yZ] [-w[N]]  [PREFIX=p | ONAME=n] file
  901.            ...(ZMODEM-90 send)
  902.  
  903.            Pathnames are separated by spaces.  Wildcards are OK.
  904.  
  905.            EXAMPLE: dsz port 2 sz -r /tmp/file1 /tmp/file3 *.c
  906.  
  907.  
  908.            The "sz" and "sb" commands exploit DOS's tree structured file
  909.            system.  A directory or disk specifier expands to all files in
  910.            that directory.
  911.  
  912.            EXAMPLE: dsz port 2 sz -r C:srcdir
  913.  
  914.  
  915.            If you use PREFIX= or ONAME= with the "sb" or "sz" commands, these
  916.            pathnames should be entered in lower case unless the underlying
  917.            file system supports upper AND lower case.
  918.  
  919.            EXAMPLE: dsz port 2 sz -r ONAME=newsrc.c temp.c
  920.  
  921.  
  922.  
  923.      sb    [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM or YMODEM-g send)
  924.  
  925.      sb -k [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM-1k or YMODEM-g
  926.            send)
  927.  
  928.      sx    [-t] file1                    (XMODEM, XMODEM/CRC, Qmodem-G send)
  929.  
  930.      sx -k [-t] file1                    (XMODEM-1k send)
  931.  
  932.  
  933.      v     Verify the serial number by writing a log entry (see DSZLOG).
  934.  
  935.            v      1     0 bps    0 cps   0 errors     0  128 s/n 666
  936.  
  937.            The letter "v" indicates a verification entry.  The first numeric
  938.            field is 1 if YMODEM-g is supported.  The last field is the serial
  939.            number.  Unregistered copies show a s/n of 0.
  940.  
  941.  
  942.  
  943.  
  944.  
  945.      Chapter 4 Pg 14       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  946.  
  947.  
  948.      o     Turn off Data Terminal Ready (DTR), terminating ("offing") the
  949.            connection if the modem responds to DTR.  Useful with the "t"
  950.            command to disconnect afterwards.
  951.  
  952.            EXAMPLE: dsz t o
  953.  
  954.  
  955.  
  956.      LARG  Convert ARG to lower case, then parse arg.
  957.  
  958.  
  959.      The meanings of optional arguments to the file transfer commands are
  960.      described in DSZBG.DOC and the ZCOMM/Pro-YAM manual.
  961.  
  962.      The s (SlugBait) option prevents a receiver from receiving a file
  963.      without accounting for it.  Attempts to do so are flagged with a Q
  964.      status in the log file.  This option can cause a transfer that
  965.      legitimately fails near the end of the file to be reported as
  966.      Questionable rather than ERROR.  SlugBait causes DSZ to return success
  967.      if at least one file is transferred.
  968.  
  969.      Send files may be specified indirectly:
  970.                                dsz sz @C:files.lst
  971.      sends the files in C:files.lst.  This provides another means of
  972.      bypassing the DOS command line limit.  The first letter must be "@" and
  973.      the third letter must be ":" to distinguish this from an ordinary
  974.      pathname.  Pathnames in the indirection file may be separated by any
  975.      combination of space(s), tab(s), CR and/or LF.  No spaces may appear
  976.      inside a pathname; "FOO     .BAR" won't work.
  977.  
  978.      4.2  Interrupt Keys
  979.  
  980.      Ctrl-Break Terminates the transfer in progress.
  981.  
  982.      ALT-N Abruptly terminates (NUKES) the transfer in progress.
  983.  
  984.      Ctrl-X Typing a dozen Ctrl-X characters to another ZMODEM program
  985.           terminates ZMODEM operations.
  986.  
  987.      ALT-F Skips the current file in ZMODEM transfers.
  988.  
  989.      ALT-B Cancels the current ZMODEM session.
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.      Chapter 5 Pg 15       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1005.  
  1006.  
  1007.      5.  NUMERIC PARAMETERS
  1008.  
  1009.      DSZ uses the following main numeric parameters, settable with the pxN
  1010.      command.
  1011.  
  1012.      EXAMPLE: C>dsz pQ0
  1013.  
  1014.  
  1015.      In addition, DSZ uses the Pro-YAM/ZCOMM zmodem numeric parameters
  1016.      described in the Pro-YAM/ZCOMM reference manual (ZCOMMDOC.ZIP) and in
  1017.      DSZBG.DOC.
  1018.  
  1019.  
  1020.      B   Set the size of buffer used for disk reads and writes.  The default
  1021.          is 1024, 4096 maximum (16384 max on DSZ.EXE).  If your copy of DSZ
  1022.          is running on a floppy disk system or a very slow turkey hard disk,
  1023.          a larger value may give better results.  Too large a value may
  1024.          exhaust memory, induce receiver timeouts, cause disconnects(!), or
  1025.          generate spurious CRC errors.  If performance logging doesn't work,
  1026.          this parameter is too big.
  1027.  
  1028.          EXAMPLE: C>dsz pB4096 sz A:floppy.fil
  1029.  
  1030.          Setting the buffer size may lock out the performance log, DSZFILES,
  1031.          and/or indirect pathname list in DSZ.COM.
  1032.  
  1033.          IF YOU AREN'T BLOODY SURE YOU NEED A BIGGER BUFFER, DON'T USE ONE.
  1034.  
  1035.          Please understand that the B parameter has nothing to do with
  1036.          anything you've heard about 128, 1024 or 8192 byte XMODEM style
  1037.          blocks.  Normally, ZMODEM's block size is the entire file.
  1038.  
  1039.      O   This parameter controls XMODEM OverThruster(TM).  It is described in
  1040.          dszbg.doc.  This file is part of the software package sent to paid
  1041.          registrants.
  1042.  
  1043.      P   After a "speed" command, if you give a p command (display
  1044.          parameters), the P parameter value will indicate the type of serial
  1045.          I/O UART chip detected.  DSZ automatically detects and enables the
  1046.          FIFO on the NS16550A, NS16550AFN, and Intel 82510 chips.
  1047.  
  1048.          EXAMPLE: dsz port 1 speed 19200 p
  1049.  
  1050.  
  1051.          0  Indicates a standard 8250 or 16450 UART with no special features.
  1052.  
  1053.          1  Indicates an NS16550AN or NS16550AFN with 16 deep receive FIFO.
  1054.             These are the preferred chips.
  1055.  
  1056.          2  Indicates an Intel 82510 with 3 deep receive FIFO.
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.      Chapter 5 Pg 16       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1064.  
  1065.  
  1066.          The sequence "port 1 pP1 speed 19200" bypasses DSZ's verification
  1067.          checks normally performed on the FIFO configuration and may allow
  1068.          defective FIFO logic on certain chips to be used.  This incantation
  1069.          is not required for the NS16550AN or NS16550AFN.
  1070.  
  1071.          The sequence "pP-1 speed 2400" should be used with the Western
  1072.          Digital WD16550 chip to disable the non standard FIFO on that chip.
  1073.          The WD16550 FIFO has been observed to lose data when transmitting at
  1074.          2400 bps and slower speeds.  The minimum speed for normal transmit
  1075.          FIFO operation with the WD16C550 may vary with different computers.
  1076.  
  1077.  
  1078.      Q   Error code returned to DOS (default 1).  (Success always returns 0.)
  1079.          Some programs toss cookies when confronted with certain exit codes.
  1080.  
  1081.          EXAMPLE: dsz pQ-1 sz foo.bar
  1082.  
  1083.  
  1084.          DSZ reports an error if no files have been transferred, even if the
  1085.          command used wasn't supposed to transfer any file(s).
  1086.  
  1087.  
  1088.      R   If set to 1, causes partially received files to be deleted.
  1089.  
  1090.          EXAMPLE: DSZ pR1 rz
  1091.  
  1092.  
  1093.  
  1094.      S   Timeout in seconds (default 15) waiting for restraint release (XON
  1095.          and/or handshake).
  1096.  
  1097.      W   Wait for Enter key before exiting after an error.  Effective only on
  1098.          registered copies.  Useful when calling DSZ from DESQview, allows
  1099.          the window to close unless there is an error message that should
  1100.          remain visible.
  1101.  
  1102.          EXAMPLE: C>dsz pW1 sz foo.bar
  1103.  
  1104.  
  1105.      a   Calibrates certain protocol timeouts used with XMODEM and YMODEM
  1106.          transfers (Cybernetic Data Recovery(TM)).  This parameter does not
  1107.          affect ZMODEM transfers.
  1108.  
  1109.          The a numeric parameter is automatically set to 2000 for a 4.77 mHz
  1110.          PC or XT, 4000 for a PS2/30, 6000 for an 8 mHz 1ws AT, and 12000 for
  1111.          a PS2/80.  If your computer has a speedup card or otherwise runs
  1112.          unusually fast (or slow!) for its type, you may set the a numeric
  1113.          parameter to a value that reflects its speed.
  1114.  
  1115.          EXAMPLE: dsz port 2 pa4000 rb
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.      Chapter 5 Pg 17       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1123.  
  1124.  
  1125.          NOTE: Setting this parameter does not suppress the "Unknown Machine
  1126.          Type" message which is displayed before the command line is scanned.
  1127.  
  1128.      d   A non zero value (the default) causes incoming files received with
  1129.          ZMODEM and full YMODEM transfers to have their Date set to that sent
  1130.          in the file header.  ZMODEM's file management features depend on the
  1131.          transmission of each file's modification date.  Files will have the
  1132.          same creation date, even if the two machines are in different time
  1133.          zones.  When transferring files to/from a Unix system, creation
  1134.          dates are interpreted according to GMT or Universal Coordinated
  1135.          Time.  File dating may be disabled with a pd0 command.
  1136.          NOTE: Backdating file creation times may confuse some backup
  1137.          programs.
  1138.  
  1139.      v   Verbose level (debugging output) Negative values inhibit some
  1140.          routine messages.  Setting v to 1 or greater causes serialized
  1141.          copies to ring the bell when a transfer is done.
  1142.  
  1143.      z   Timezone in minutes behind GMT, used for ZMODEM and True YMODEM file
  1144.          transfers to coordinate the actual date of the file with computers
  1145.          in other time zones.  Effective on registered copies.  PDT or MST
  1146.          corresponds to 420.  This may be preset with the ZONE DOS
  1147.          environment variable.
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.      Chapter 6 Pg 18       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1182.  
  1183.  
  1184.      6.  ENVIRONMENT VARIABLES
  1185.  
  1186.      The following DOS environment variables may be set to modify DSZ
  1187.      operation.  DOS environment variables are set by giving a command to
  1188.      DOS.
  1189.  
  1190.  
  1191.      EXAMPLE: set DSZPORT=2
  1192.  
  1193.  
  1194.      The following form may be used for arbitrary address/vector
  1195.      combinations:
  1196.  
  1197.      EXAMPLE: set DSZPORT=3e8,4
  1198.  
  1199.      These DOS "set" commands may be placed in your AUTOEXEC.BAT file or
  1200.      given just before you run your communications program.
  1201.  
  1202.      IMPORTANT! Do not add spaces to these commands!!
  1203.      set DSZPORT  =  2 WILL NOT WORK!
  1204.  
  1205.  
  1206.      DIRRX (Registered copies only.) Specifies the directory to receive
  1207.          (download) files.  If the sting in DIRRX ends with "/", directory
  1208.          and/or disk designators in the incoming pathname are stripped, and
  1209.          only the stem (name and extension) is used.  Otherwise, if an
  1210.          incoming file has an absolute pathname, the incoming pathname is
  1211.          used.
  1212.  
  1213.          EXAMPLE: set DIRRX=C:/rxdir/
  1214.          dsz rz -r
  1215.  
  1216.  
  1217.          EXAMPLE: set DIRRX=B:/
  1218.  
  1219.          The DOS "set" command defining the receive directory may be placed
  1220.          in your AUTOEXEC.BAT file.  Make certain there is enough environment
  1221.          space to hold this value.  Confirm this by typing "set" to the DOS
  1222.          prompt and verifying the DIRRX value is listed correctly.
  1223.  
  1224.      DSZFILES May contain a list of up to 9999 pathnames to transmit, with
  1225.          entries separated by spaces.  If present, DSZFILES is used in place
  1226.          of a normal command line list of files to send with the sb and sz
  1227.          commands.
  1228.  
  1229.          EXAMPLE: C>set DSZFILES=file1 file2 file3 *.c
  1230.          C>dsz port 2 handshake on sz -rr
  1231.  
  1232.          In practice, this string would be built up by a calling program and
  1233.          passed to DSZ with a "spawnvpe", "execvpe", or similar subroutine
  1234.          call.
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.      Chapter 6 Pg 19       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1241.  
  1242.  
  1243.          SEE ALSO: Pathname list specification @C:files.lst
  1244.  
  1245.      DSZLOG log file to receive entries for files sent and received.
  1246.          (Default null).  Sample entries:
  1247.  
  1248.      Z  46532 38400 bps 3324 cps   0 errors    66 1024 DSZ.COM 1177
  1249.      Z 124087 19200 bps 1880 cps   0 errors     6 1024 MXY.TMP 1177
  1250.  
  1251.          Transfer times are based on the DOS time of day clock and have up to
  1252.          two seconds' uncertainty.  As with all protocol throughput reports
  1253.          generated by Omen Technology programs (and contrary to the false
  1254.          claims of some critics), DSZ's throughput figures for ZMODEM,
  1255.          Kermit, and True YMODEM(TM) transfers do not take "credit" for
  1256.          pathname and/or protocol overhead characters.  DSZ's throughput
  1257.          reports do not include the time required to send the pathname.  This
  1258.          understates the true time required to transfer files, but the time
  1259.          required to send the pathname often depends on the alacrity of the
  1260.          operator, and thus does not always reflect the performance of the
  1261.          protocol itself.
  1262.  
  1263.          Transfers measuring less than one second are reported as having 9999
  1264.          characters per second throughput.
  1265.  
  1266.          The unlabeled numeric field after the error (retry) count is the
  1267.          number of flow control stoppages encountered sending the file.  This
  1268.          number gives an indication of flow control restrictions (overloaded
  1269.          networks, etc.) encountered during the transfer.
  1270.  
  1271.          The last numeric field before the file name is the YMODEM block size
  1272.          or ZMODEM subpacket length used for the last block in the file.
  1273.  
  1274.          The last field is the serial number of the other program, or -1 if
  1275.          this information is not available.
  1276.  
  1277.          The code letter indicates the type of transfer, Z (ZMODEM), S
  1278.          (X/YMODEM), R (X/YMODEM), E (error), or L (transfer terminated by
  1279.          loss of data carrier).
  1280.  
  1281.          WARNING: If DSZ encounters a loss of carrier or other fatal error
  1282.          condition before a file COMMENCES transmission, a log entry may not
  1283.          be made.
  1284.  
  1285.  
  1286.          EXAMPLE: C>set DSZLOG=C:/yam/dszlog
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.      Chapter 6 Pg 20       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1300.  
  1301.  
  1302.      DSZOPT (Registered copies only) String containing default options for
  1303.          DSZ file transfers.  Options are optional modifiers to the DSZ sz,
  1304.          rz, sx, rx, sb, rb commands.
  1305.  
  1306.          A T may be appended to the string to force DSZ to exit after it has
  1307.          recognized a ZMODEM AutoDownload(TM) request.
  1308.  
  1309.          An 8g may be appended to the string to make BBS (ANSI) graphics the
  1310.          default for DSZ's t command.  The ability to preset these options is
  1311.          especially helpful for controlling ZMODEM automatic downloads from
  1312.          DSZ's t command.
  1313.  
  1314.          EXAMPLE: C>set DSZOPT=r
  1315.          Enables DSZ's Intelligent Crash Recovery(TM) as a default.
  1316.  
  1317.          Let's say you wish ZMODEM crash recovery, and BBS "graphics" for the
  1318.          DSZ term function:
  1319.          C>set DSZOPT=r8g
  1320.  
  1321.  
  1322.          If you're downloading files from GEnie with an MNP modem, the
  1323.          following will speed up your downloads with Genie's ZMODEM-90Tm.
  1324.          (You can recognize ZMODEM-90 on GEnie two ways: 1) MobyTurboTm is
  1325.          used to speed ZIP and ARC downloads, 2) "sz 4.xx" is displayed at
  1326.          the end of transfer.  As of this writing, ZMODEM-90 may not be
  1327.          available in all libraries.) Note that (as usual with DSZ) case is
  1328.          significant: the "r" must be lower case, the "W" upper case.
  1329.          C>set DSZOPT=rW16384
  1330.  
  1331.  
  1332.          WARNING: Do NOT include "ena" or any other commands in the DSZOPT
  1333.          string.  With the exception of the "8g" mode, only **options** may
  1334.          be placed in the DSZOPT string!  (Options are the letters that
  1335.          modify the sz, rz, sb, etc. commands.  In "rz -r", "r" is an
  1336.          option.)
  1337.  
  1338.      MAXBYTES Maximum number of bytes allowed for transfer.  If this number
  1339.          is exceeded, DSZ skips the offending files (ZMODEM) or aborts
  1340.          remaining files in the batch (YMODEM).
  1341.  
  1342.      DSZPORT Default communications port override, default 1.
  1343.  
  1344.          EXAMPLE: C>set DSZPORT=2
  1345.  
  1346.          IMPORTANT! NO SPACES!!
  1347.  
  1348.  
  1349.  
  1350.      ZONE sets the z numeric parameter to the number of minutes the current
  1351.          local time lags GMT time.  PDT or MST corresponds to 420.  PST
  1352.          corresponds to 480.
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.      Chapter 6 Pg 21       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1359.  
  1360.  
  1361.          EXAMPLE:
  1362.          C>set ZONE=420
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.      Chapter 7 Pg 22       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1418.  
  1419.  
  1420.      7.  EXIT STATUS
  1421.  
  1422.      DSZ exits with 0 status for successful transfers, or the value of the Q
  1423.      numeric parameter (default 1) if a file transfer failed, or if no files
  1424.      were transferred.  Many languages and "door" programs do not return this
  1425.      information to the calling program.  Some languages and "door" programs
  1426.      freak out (hang) on certain non-zero exit values.
  1427.  
  1428.      A batch file that calls DSZ directly may be used to detect the DSZ exit
  1429.      status with the DOS "errorlevel" construct.  Please refer to the Q
  1430.      numeric parameter below for more information.
  1431.  
  1432.      DSZ's log file entries may also be examined to determine the success or
  1433.      failure of a file transfer.
  1434.  
  1435.      DSZ commands are an improper subset of Pro-YAM/PowerCom/ZCOMM commands.
  1436.      The file transfer commands are fully described in ZCOMMDOC.ZIP, the
  1437.      ZCOMM User's Manual.  Relevant portions of the ZCOMM User's Manual are
  1438.      provided in DSZBG.ZOO, a Copyrighted file included with the DSZ
  1439.      registration disk.  You may refer to one of those documents for details
  1440.      on the following commands.
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.      Chapter 8 Pg 23       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1477.  
  1478.  
  1479.      8.  EXAMPLES
  1480.  
  1481.      dsz sz c:foo.zip              (send 1 file with ZMODEM)
  1482.  
  1483.      dsz sz -m c:*.zip             (send all .ZIP files with MobyTurbo(TM))
  1484.  
  1485.      dsz sz f1.c f2.c f3.c         (send 3 files with ZMODEM)
  1486.  
  1487.      dsz sz c:foo.* b:*.c          (send multiple files with ZMODEM)
  1488.  
  1489.      dsz sz -Z *.lst               (send text files with ZMODEM compression)
  1490.  
  1491.      dsz sz -r bigone.zip          (CRASH RECOVERY: resume interrupted
  1492.      transfer)
  1493.  
  1494.      dsz rz -r                     (CRASH RECOVERY: resume interrupted
  1495.      transfer)
  1496.  
  1497.      dsz rz -rr                    (CRASH RECOVERY with file comparison)
  1498.  
  1499.      dsz handshake both sz yamdemo.zip       (Hardware+Software handshake)
  1500.  
  1501.      dsz sz -n *.*                 (send files that are newer or rx has no
  1502.      copy)
  1503.  
  1504.      dsz sz -Yn *.*                (Only send files that are newer than
  1505.      receiver's copy)
  1506.                                    (Do not send files that do not exist on
  1507.      receiver's disk)
  1508.  
  1509.      dsz rz C:/UPLOADS             (receive files to specified directory #)
  1510.  
  1511.      dsz port 2 speed 38400 handshake both restrict rz
  1512.                                    (Restrict provides protection for BBS's)
  1513.  
  1514.      dsz rz  -y prog.zip           (ZMODEM, single file pathname override)
  1515.  
  1516.      dsz z pr1 rx foo.dat          (XMODEM receive, remove file if error)
  1517.  
  1518.      dsz pO60 ro foo.dat           (XMODEM/OverThruster receive, GEnie MNP #)
  1519.  
  1520.      DSZ LRC L-Y NEWPROG.ZIP       (generate lower case "rc -y" command)
  1521.  
  1522.      dsz sz foo >debug.dmp         (Debugging data dump)
  1523.  
  1524.      dsz sz @C:/bbs/files.lst      (Indirect file list)
  1525.  
  1526.      # Registered copies only
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.      Chapter 9 Pg 24       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1536.  
  1537.  
  1538.      9.  BACKGROUND OPERATION
  1539.  
  1540.      Three DESQview description files are provided to demonstrate background
  1541.      operation with modest (66 kb window) memory requirements.  DSZ uses
  1542.      tight C/ASM code, table driven CRC generators, and buffered receive and
  1543.      transmit for good performance in the background without hogging CPU
  1544.      cycles.  On a QIC Labs 8 mHz PC-AT clone, DSZ can download files in the
  1545.      background (3 background clock ticks, 9 foreground clock ticks) with a
  1546.      throughput better than 9600 bps.
  1547.  
  1548.      2S   Prompts for file name(s) and sends them with ZMODEM protocol.
  1549.           File: 2S-PIF.DVP
  1550.  
  1551.      2T   Talks to the modem and allows manual YMODEM (F3) or automatic
  1552.           ZMODEM downloads.  File: 2T-PIF.DVP
  1553.  
  1554.      2A   Like 2T, but using Quarterdeck's dvansi.com memory resident ANSI
  1555.           CRT device driver to process ANSI screen codes.  File: 2A-PIF.DVP
  1556.           DS.BAT is the batch file used by 2A.
  1557.  
  1558.      These files are written for a port 2 local connection and \TMP
  1559.      directory, but may be modified to suit your requirements using the
  1560.      DESQview CP command.  The W numeric allows DESQview to close the window
  1561.      after DSZ finishes, providing a pleasant user interface.
  1562.  
  1563.      Other DVPs, Scripts, and Batch files are available on the DESQView
  1564.      conference on the Sound of Music as DVDSZ20Z.ARC.
  1565.  
  1566.      Please consult the DESQview documentation for instructions on
  1567.      installation procedure for the DVP files.
  1568.  
  1569.      Operation at high speed (above 9600 bps) may require the DESQview
  1570.      "Optimize communications" performance Advanced Setup option.
  1571.  
  1572.      Newer versions of DESQview may require more "common memory" allocation
  1573.      (6-8 k bytes) to operate with DSZ.  Some versions of DESQview do not
  1574.      operate properly with DSZ; DESQview 2.0 is known to work, and DESQview
  1575.      2.25 is reported to have fixed bugs in intermediate versions.
  1576.  
  1577.      On 286 and 386 machines, some DESQview operations involve swapping
  1578.      memory contents with buffers in extended memory.  As with extended
  1579.      memory ramdisks and disk caches, this causes errors with high speed
  1580.      communications.  The considerations discussed in the "286 and 386
  1581.      Extended Memory" subchapter apply here.  Since this DESQview extended
  1582.      memory swapping is asynchronous with respect to DSZ's file transfers,
  1583.      "handshake slow" doesn't help here.  The solution is to force DESQview's
  1584.      memory swaps to use smaller blocks (with interrupts allowed between
  1585.      blocks) and/or use NS16550AN or NS16550AFN chips for the serial
  1586.      interface.
  1587.  
  1588.      If you see funny characters on the screen while a program is loading,
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.      Chapter 9 Pg 25       DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1595.  
  1596.  
  1597.      you have a conflict between the display adapter and QEMM memory manager
  1598.      which may cause lockups.  If so you must explicitly exclude the display
  1599.      adapter's memory with an EXCLUDE clause in QEMM's config.sys entry.
  1600.  
  1601.            ***********************************************************
  1602.                                      WARNING
  1603.      When running DSZ under a multi tasking system such as DESQview, do not
  1604.      allow two programs to access the same comm port at the same time.  At
  1605.      best, such actions will disrupt communications.  At worst, your computer
  1606.      will attempt to open a subspace channel to V'ger.
  1607.  
  1608.      Tell DESQview to use the SPECIFIC port number you are using, and not "Y"
  1609.      to the question: "Uses serial Ports (Y, N, 1, 2)"
  1610.  
  1611.      When running a comm program under DESQview or any related multitasking
  1612.      executive, DSZ must be called directly from the comm program, in the
  1613.      same window.  DO NOT open a separate window for DSZ unless you were
  1614.      about to power down the computer anyway.
  1615.            ***********************************************************
  1616.  
  1617.      With some communications programs, you can make the call, log in, and
  1618.      then exit (closing the window) without disconnecting the modem.  At this
  1619.      time you can fire up DSZ with the "t" command to allow YMODEM or ZMODEM
  1620.      downloads in a small window.
  1621.      Example File: 2A-PIF.DVP
  1622.  
  1623.      Alternatively, you can start DSZ from the DOS prompt, then type "AT"
  1624.      commands to the modem to call the bulletin board.  DESQview's "learn"
  1625.      facility may be helpful here.
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.      Chapter 10 Pg 26      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1654.  
  1655.  
  1656.      10.  FLOW CONTROL
  1657.  
  1658.      If you plan to send files over Telenet (PC-Pursuit), you must refer to
  1659.      the Pro-YAM or ZCOMM Reference manual (in ZCOMMDOC.ZIP) FLOW CONTROL
  1660.      chapter for vital information on flow control considerations necessary
  1661.      for proper operation of ZMODEM and other streaming protocols.
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.      Chapter 11 Pg 27      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1713.  
  1714.  
  1715.      11.  ERROR MESSAGES
  1716.  
  1717.      COM2 1200 bps Carrier Detect enabled Handshake slow
  1718.      Command line = (commands)
  1719.      This is a normal message displayed to help resolve problems with
  1720.      incorrect batch files.  The port number, speed, carrier detect
  1721.      ("enabled" or "DISABLED") and "handshake" indicate the selected mode of
  1722.      operation.
  1723.  
  1724.      DSZ FINISHED! exit code = 0
  1725.      This is DSZ's normal exit when at least one file has been transferred
  1726.      and no unrecoverable errors have been detected.  If an error such as a
  1727.      failed file transfer had been detected, the exit code would be 1, or the
  1728.      value set in the Q numeric parameter.
  1729.  
  1730.      As the message implies, DSZ has done all of its processing, and has
  1731.      return the communications port and vector to its original value before
  1732.      displaying this message.  If the computer locks up after this message is
  1733.      displayed, there's something wrong with the program that called DSZ, not
  1734.      with DSZ itself.
  1735.  
  1736.      Unknown Machine Type XX, 'a' parameter preset to 6000 indicates a ROM
  1737.      BIOS that does not follow the IBM specification for identifying the
  1738.      machine type.  If your computer causes DSZ to display this message, you
  1739.      may set the a numeric parameter described elsewhere in this document.
  1740.      This message is generated before any commands are read, so do not be
  1741.      alarmed when you "discover" that setting the a parameter doesn't make
  1742.      this message go away.  The a parameter does not affect ZMODEM transfers.
  1743.  
  1744.      Please send us a postcard or letter indicating the reported hex value
  1745.      for machine Type, name of the computer, and its speed so we can include
  1746.      that machine type in a future release.
  1747.  
  1748.      Need more memory to run DSZ or Abnormal program termination is displayed
  1749.      by the TurboC startup routine if DSZ is run in too small a memory
  1750.      partition.  If you see this message, use a larger memory partition for
  1751.      DSZ or remove some memory resident programs.  This message may also
  1752.      appear if the calling program fails to free memory before calling DSZ.
  1753.  
  1754.      No Carrier Detect is displayed when DSZ recognizes a lack of carrier
  1755.      detect signal from the modem.  Most support calls concerning "No Carrier
  1756.      Detect" are caused by the user failing to tell DSZ to use the correct
  1757.      port.  DSZ does not magically divine the COM port number; if the default
  1758.      COM1 is incorrect, DSZ must be told what port to use with the port
  1759.      command or the DPORT environment variable.
  1760.  
  1761.      No Carrier Detect may also be caused by a line disconnect, defective
  1762.      cable, or incorrect modem strapping.  It may be disabled with the d
  1763.      command.  Sometimes this is caused by setting the B parameter to too
  1764.      large a value.
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.      Chapter 11 Pg 28      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1772.  
  1773.  
  1774.      Garbage Count Exceeded Indicates ZMODEM has not detected a valid start
  1775.      of header in a reasonable number of characters.
  1776.  
  1777.      If DSZ becomes "stuck" on emitting this messages, it is possible the
  1778.      sending program may not be able to recognize and act upon transmission
  1779.      requests (ZROPS headers).  The sending program should be corrected.  In
  1780.      the meantime, setting a ZMODEM packet length with the "zmodem pl4096"
  1781.      ("l" is the small letter l) command will force the sender to wait for
  1782.      the receivers' progress reports.
  1783.  
  1784.      Permission denied comes from the Microsoft C Library.  This is caused by
  1785.      attempts to modify a read only file or directory, or to create a file in
  1786.      a nonexistent directory.
  1787.  
  1788.      A furtive flashing appearance of XOFF or FLOW during ZMODEM or YMODEM-g
  1789.      file sending signifies DSZ is responding to flow control restraint.
  1790.      This is normal operation when buffered modems or packet switched
  1791.      networks are used.  ZMODEM's robustness and reliability allow creative
  1792.      users to transfer files over unusual multiple computer lash-ups, causing
  1793.      modem data lights and computer status displays to dance in unfamiliar
  1794.      rhythms.
  1795.  
  1796.      Output FLow Control Restraint RELEASED Indcates DSZ has not received a
  1797.      positive flow control signal (XON and/or CTS as specified by the
  1798.      handshake command) within the timeout specified by the S numeric
  1799.      parameter.  This message may appear as the result of line noise.  If it
  1800.      appears often, it may indicate improper flow control settings, defective
  1801.      modem and/or cable, or (rarely) too small a value for the S numeric
  1802.      parameter.
  1803.  
  1804.      Not allowed to overwrite %s By default, DSZ will not overwrite an
  1805.      existing file.  Use the -y or -n or -r option to overwrite/update
  1806.      existing files.
  1807.  
  1808.  
  1809.      11.1  Got ZRPOS
  1810.  
  1811.      Got ZRPOS indicates the receiving program has detected a transmission
  1812.      error and has requested retransmission.  In other words, ZMODEM is doing
  1813.      its job of detecting and correcting missing and garbled data.
  1814.  
  1815.      If this happens more often than observed line errors would indicate is
  1816.      reasonable, the receiver's error messages must be studied.  Line Status
  1817.      Register errors generally indicate a local problem; if the receiver
  1818.      gives "Line Status Register 02" errors the problem lies with the
  1819.      receiver.
  1820.  
  1821.      Otherwise, the sender may have a flow control problem in one of four
  1822.      areas:
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.      Chapter 11 Pg 29      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1831.  
  1832.  
  1833.        + Between the sending program and its modem.  If using an interface
  1834.          speed higher than the transmission speed, or modem to modem error
  1835.          correction (MNP, LAPB, PEP, etc.), check that the modem and the
  1836.          sending program are configured for the same flow control methods.
  1837.          Omen Technology's software is faster than most other programs, and
  1838.          may expose flow control problems not seen with slower software.
  1839.  
  1840.        + Between the sending modem and the network.  Correcting this requires
  1841.          "handshake both" to allow the sending program to honor both hardware
  1842.          (CTS) flow control from the modem and software flow control
  1843.          (XON/XOFF) from the network.
  1844.  
  1845.        + Between parts of the network.
  1846.  
  1847.        + Between the receiving modem and the receiving program.  This can
  1848.          happen at high transmission speeds when the receiver has specified a
  1849.          large I/O buffer size with the B numeric parameter.
  1850.  
  1851.          Excessive interrupt latency from extended memory ramdisks or disk
  1852.          caches, and poorly written hard disk drivers also wreak havoc on
  1853.          streaming protocols but do not affect start-stop protocols (XMODEM,
  1854.          etc.).  Problems with extended memory disk caches may cause errors
  1855.          at regular intervals; check the receiver's error messages.
  1856.  
  1857.          To work around these problems, give the "handshake slow" command to
  1858.          the receiver.
  1859.  
  1860.      Byte NNNN retry M: <error message> These messages appear when the
  1861.      protocol has detected an error and is attempting to retransmit the
  1862.      garbled data.  These are normal messages.
  1863.  
  1864.  
  1865.      11.2  Serial Input Error: Line Status Register xx
  1866.  
  1867.      Serial Input Error: Line Status Register HH indicates a hardware
  1868.      problem, slow device driver, TSR program, or other software is disabling
  1869.      interrupts too long for the program to accept incoming data, and some
  1870.      characters are lost.  A slow response to folow control also triggers
  1871.      this message.
  1872.  
  1873.      The value of the line status register is displayed in HEX.  The
  1874.      following error conditions are OR'ed into the Line Status Register.
  1875.  
  1876.  
  1877.      01   The Interrupt level circular buffer has been overrun.  The remote
  1878.           did not respond to DSZ's XOFF or hardware flow control, and
  1879.           continued to send characters after being told not to.  This problem
  1880.           is alleviated by correct modem flow control configuration.
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.      Chapter 11 Pg 30      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1890.  
  1891.  
  1892.      02   An 02 value for the LSR indicates Data Overrun.  "Data Overrun"
  1893.           means the computer was not able to respond to an incoming character
  1894.           from the UART (modem) in time to make room for the next incoming
  1895.           character.  Data Overruns are caused by poorly designed software
  1896.           (or ROM BIOS "firmware") locking out interrupts for excessive
  1897.           periods.  These lockouts prevent the communications program from
  1898.           responding to the incoming characters quickly enough.
  1899.  
  1900.           To correct Data Overruns, you must correct the offending
  1901.           condition(s) to allow the communications program to operate
  1902.           properly.
  1903.  
  1904.           Common causes of excessively long interrupt lockouts ("critical
  1905.           code regions") are disk drivers (BIOS), window managers, disk
  1906.           caches, TSR programs, and EGA/VGA board auto-select.
  1907.  
  1908.           Slowing the CPU to allow games and other time dependent programs to
  1909.           be used can generate excessive interrupt latency.
  1910.  
  1911.           Some BIOS programs are written without regard to their effect on
  1912.           high speed communications.  Better versions of the offending BIOS
  1913.           programs may be made available if enough users complain about poor
  1914.           performance.
  1915.  
  1916.           Interrupt latency caused by EGA/VGA board auto-select can be often
  1917.           corrected by disabling the board's Auto-Select.
  1918.  
  1919.           Poorly written disk caches and disk drivers cause interrupt latency
  1920.           that affects streaming protocols (ZMODEM) but not start-stop
  1921.           protocols such as XMODEM, YMODEM, JMODEM, Lynx, etc.  The handshake
  1922.           slow command can be used to stop reception during disk transfers.
  1923.  
  1924.           Other chapters in this document give suggestions for working around
  1925.           excessive interrupt latency by using the NS16550AN UART chip.
  1926.           Please refer to the "Brain Damaged UARTS" subchapter.
  1927.  
  1928.           Please try all the suggestions mentioned here before contacting
  1929.           Omen Technology about data overruns.
  1930.  
  1931.  
  1932.      08   Framing Error generally caused by line noise or an incorrect
  1933.           transmission speed ("baud rate") or format (number of bits).  Also
  1934.           caused by some cheap internal modems.  Most protocols require 8
  1935.           bits no parity (-8n) for proper operation.  This is set
  1936.           automatically by Omen Technology programs, but other programs may
  1937.           not be so smart.
  1938.  
  1939.  
  1940.      10   Break Interrupt generally caused by line noise or an incorrect
  1941.           transmission speed ("baud rate") or format (number of bits).  Also
  1942.           caused by some cheap internal modems.
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.      Chapter 11 Pg 31      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  1949.  
  1950.  
  1951.      18   Framing Error and Break Interrupt (see above) in combination.
  1952.  
  1953.           This error may also be caused by defective 8250 UART chips.
  1954.           Certain internal modem cards have slow 8250 chips that do not
  1955.           operate properly with computers faster than 4.77 mHz.  Replacing
  1956.           the 8250 with a NS16550AN is recommended.
  1957.  
  1958.      Please refer to the In Case of Difficulty chapter of this document for
  1959.      solutions.
  1960.  
  1961.      Less commonly encountered DSZ error messages are explained in the Pro-
  1962.      YAM manual.
  1963.  
  1964.  
  1965.      11.3  No Carrier Detect
  1966.  
  1967.      If you see a No Carrier Detect message, and you haven't lost the
  1968.      connection, you should fix your modem cable or modem settings to allow
  1969.      proper operation of the Carrier Detect signal (CD).
  1970.  
  1971.      A poorer alternative is to give the d command:  dsz port 1 speed 2400 d
  1972.      t
  1973.  
  1974.  
  1975.      11.4  Port %d (%X) defective
  1976.  
  1977.      When DSZ selects a serial port, it performs a quick hardware check to
  1978.      verify the presence and minimal functionality of the 8250 family UART.
  1979.      This message usually means a nonexistent port has been selected.
  1980.  
  1981.      Reports have been received of functional but nonstandard UART chips
  1982.      triggering this message.
  1983.  
  1984.  
  1985.      11.5  COMMAND NOT FOUND
  1986.  
  1987.      If you see this message, make sure DSZ is in the DOS PATH.  Sometimes
  1988.      this error is caused by having too many environment variable strings.
  1989.  
  1990.  
  1991.      11.6  Out of Environment
  1992.  
  1993.      means there is not enough room in the program environment to accept more
  1994.      data.
  1995.  
  1996.      DOS prints this message when it cannot allocate more memory to
  1997.      accommodate a "set" command, such as "set dirrx=c:/downloads/".
  1998.  
  1999.      Try moving the "set" commands to the batch file that calls your comms
  2000.      program, or to your AUTOEXEC.BAT file.
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.      Chapter 11 Pg 32      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2008.  
  2009.  
  2010.      To increase environment, use the /E switch. The default is 160 bytes.
  2011.  
  2012.      An example for your CONFIG.SIS file: SHELL=C:COMMAND.COM/E:256
  2013.  
  2014.      NOTE: Large environments may cause DSZ.COM to lockup.  This is less of a
  2015.      problem with DSZ.EXE.
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.      Chapter 12 Pg 33      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2067.  
  2068.  
  2069.      12.  SLOW TRANSFERS
  2070.  
  2071.      Some users report slower than expected file transfers even when few or
  2072.      no errors are reported.  Some possible causes are:
  2073.  
  2074.      If "handshake slow" is used, throughput may suffer.  Try one of the
  2075.      other solutions to the "Line Status Register = 02" errors discussed
  2076.      above.  When using "handshake slow" it may be possible to increase the
  2077.      modem's interface speed to 19200 bps or faster.
  2078.  
  2079.      Bad phone lines will silently slow MNP modems, sometimes without any
  2080.      error indications.  If the modems disconnect fairly often you should
  2081.      suspect marginal phone line conditions that are being hidden by MNP
  2082.      error correction.
  2083.  
  2084.      One of the programs may have set a parameter or option that acts to slow
  2085.      the transfer under certain conditions.
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.      Chapter 13 Pg 34      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2126.  
  2127.  
  2128.      13.  IN CASE OF DIFFICULTY
  2129.  
  2130.      13.1  LOCKUPS
  2131.  
  2132.      13.1.1  Insufficient Memory
  2133.      DSZ complains when it detects insufficient memory to operate.  When
  2134.      calling DSZ from another program, there may be ALMOST enough memory for
  2135.      proper operation, but DSZ locks up during a transfer or the calling
  2136.      program freezes after DSZ displays the "DSZ Finished" message.
  2137.  
  2138.      Sometimes there is a message about insufficient memory, sometimes just a
  2139.      lockup and no message.  To verify this problem, call CHKDSK from within
  2140.      your comms program (not from DOS!) by defining it as an external
  2141.      protocol.  If you use an interface program (Hotkeyz, Prodoor, etc.), you
  2142.      must call CHKDSK from that program, as those programs also reduce the
  2143.      memory available to DSZ.
  2144.  
  2145.      CHKDSK should report at least 64k free memory.  If less memory is
  2146.      reported, reduce the size of the COMMS program's capture buffer, or
  2147.      reboot the system with fewer/smaller device drivers and TSR programs.
  2148.      Calling DSZ directly from the comms program instead of from an interface
  2149.      also saves memory.
  2150.  
  2151.  
  2152.      13.1.2  Environment TOO BIG
  2153.      A large environment may cause DSZ.COM to lockup.  The size of the
  2154.      environment (the amount of text you get when you give the DOS "set"
  2155.      command) is subtracted from the data space available to 8086 C programs.
  2156.      This can be a problem with DSZ.COM, whose 8086 tiny model limits code,
  2157.      data, stack, and environment to 64 kb TOTAL.  Use DSZ.EXE (compiled with
  2158.      8086 small model) to alleviate this problem.
  2159.  
  2160.  
  2161.      13.1.3  Bad COM Port Configuration
  2162.      DSZ is fastidious about which interrupt vectors it takes over.  Unlike
  2163.      some programs, DSZ uses only the correct interrupt vector for its
  2164.      interrupt service routine.  (This allows multitasking.)
  2165.  
  2166.      DSZ obtains and releases this vector with standard DOS function calls.
  2167.      This allows multi line operation under DESQview and other multitasking
  2168.      systems.
  2169.  
  2170.      Incorrectly configured serial ports that work with programs that pig out
  2171.      both IRQ3 and IRQ4 will lock up with DSZ.  If DSZ locks up the machine
  2172.      as soon as it tries to send or receive data, this is usually the fault.
  2173.      Make sure the comm port is strapped correctly; COM1 uses IRQ4, COM2 uses
  2174.      IRQ3.  DSZ will lock up if the comm port is not properly set up.
  2175.  
  2176.      In addition, DSZ will not work properly if two devices are connected to
  2177.      the same IRQ line, even when some other programs (that don't use
  2178.      interrupts as intensively) do work normally on the same machine.
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.      Chapter 13 Pg 35      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2185.  
  2186.  
  2187.      COM3 and above are not widely standardized.  If you have problems with
  2188.      COM3, chances are your "COM3" is non standard.
  2189.  
  2190.  
  2191.      13.2  Incorrect Batch Files
  2192.  
  2193.      Incorrect batch files are the number one source of problems using DSZ
  2194.      for uploads and downloads.  Bulletin board programs with convoluted
  2195.      batch file mechanisms exacerbate the problem.
  2196.  
  2197.      DSZ's command line echo was added to assist in correcting defective
  2198.      batch files.  You should see a display like:
  2199.  
  2200.      Command line = 'rz '
  2201.      or
  2202.      Command line = 'port 2 speed 9600 sz foo.baz '
  2203.  
  2204.      You may have to add a "pause" command at the end of the batch file to
  2205.      allow DSZ's messages to be seen.  Another possibility is to turn on the
  2206.      printer with ^P before running DSZ, so DSZ's message can be saved on
  2207.      paper.
  2208.  
  2209.      In general, the Command line display should look like one of the
  2210.      examples in this document or those displayed by DSZ itself.  (The
  2211.      Command line display does not include the name of the DSZ program
  2212.      itself.)
  2213.  
  2214.      Try running DSZ by itself, without any batch files or TSR programs,
  2215.      calling it directly from DOS as described above.
  2216.  
  2217.  
  2218.      13.3  Cheap Internal Modems
  2219.  
  2220.      Numerous trouble reports have been received lately caused by cheap
  2221.      internal modems causing errors on ZMODEM transfers but not XMODEM.  A
  2222.      similar problem was experienced in the mid 80's during beta testing of
  2223.      some 2400 bps modems.  Perhaps defective LSI chips left over from those
  2224.      days were cloned or recovered from the trash bin.
  2225.  
  2226.  
  2227.      13.4  Commands Entered in Upper Case
  2228.  
  2229.      Most DSZ commands and options must be entered in lower case (small
  2230.      letters, not big letters).  Where the documentation or help screen
  2231.      indicates "rz", you must use "rz" and not "RZ".
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.      Chapter 13 Pg 36      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2244.  
  2245.  
  2246.      13.5  No Carrier Detect
  2247.  
  2248.      If you see a No Carrier Detect message, and you haven't lost the
  2249.      connection, you should fix your modem cable or modem settings to allow
  2250.      proper operation of the Carrier Detect signal (CD).
  2251.  
  2252.      A poorer alternative is to give the d command:  dsz port 1 speed 2400 d
  2253.      t
  2254.  
  2255.  
  2256.  
  2257.      13.6  PKARC 3.6
  2258.  
  2259.      It has been reported that PK36 grabs some interrupts and doesn't restore
  2260.      them on exit in an attempt to prevent hacks of the program.  Since
  2261.      eliminating that particular version and cleaning up memory, high speed
  2262.      transfers even with 8250 UARTS work properly again.
  2263.  
  2264.      The problem with PK 3.6 appears to be most severe if a BBS operator has
  2265.      doorware, etc that accesses the PK programs from a shell of some sort.
  2266.      This info may be helpful to users who are having otherwise inexplicable
  2267.      file transfer problems.
  2268.  
  2269.      Phil Katz has written me that this problem has been corrected in
  2270.      subsequent versions.
  2271.  
  2272.  
  2273.      13.7  DOS 3.x
  2274.  
  2275.      DOS 3.x systems may need to have a "STACKS = 8,256" line in CONFIG.SYS
  2276.      to prevent antisocial behavior. This is required on the NEC Multispeed,
  2277.      or if certain TSR's are used.
  2278.  
  2279.  
  2280.      13.8  Perstor Controllers
  2281.  
  2282.      Several reports have been received indicating Perstor disk controllers
  2283.      interfere with data communications.  Perstor is reportedly working on a
  2284.      fix.
  2285.  
  2286.  
  2287.      13.9  IBM PS/2 Model 50Z
  2288.  
  2289.      Early samples of this machine have a design error on the motherboard
  2290.      that causes comms programs to lock up the machine.  Replacing the
  2291.      motherboard with a correctly functioning unit from current production
  2292.      corrects the problem.  The part number of the replacement PS2/50 Z
  2293.      motherboard is 35F5928.  (Information provided by John M. Choma
  2294.      73047,3566) U.S. IBM has stonewalled on this issue, but in December 1988
  2295.      agreed to replace the defective motherboards under warranty.
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.      Chapter 13 Pg 37      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2303.  
  2304.  
  2305.      13.10  Brain Damaged UARTS
  2306.  
  2307.      Omen Technology has received reports of problems with buggy 8250 type
  2308.      UART integrated circuits in Leading Edge modem boards, serial port
  2309.      interfaces, and computers.  The defective chip logic affects high
  2310.      performance software.  Replacing the buggy chip with a newer chip (16450
  2311.      or NS16550AN) corrects the problem.
  2312.  
  2313.      The UM82450 chip in the Zoom 2400HC also appears to cause problems.
  2314.      Zoom Telephonics advises that this problem is limited to their old
  2315.      model.  The old model is inentifiable by an external volume control.
  2316.  
  2317.      The NS16550AN is a pin compatible plug in replacement for 8250 and 16450
  2318.      serial chips.  Omen Technology software enables the FIFO buffer in the
  2319.      NS16550AN to prevents loss of data from poorly written device drivers,
  2320.      TSR programs, etc.
  2321.  
  2322.      The NS16550AN has better electrical characteristics than the older UART
  2323.      chips.  386 and fast 286 machines should use the NS16550AN for best
  2324.      results.  Omen Technology software has been written to allow time for
  2325.      the older UART chips to operate. However, there is a limit to how much
  2326.      the software can rearrange chip accesses without resorting to
  2327.      performance robbing wait loops.  Some other software is not as forgiving
  2328.      of slow chips.
  2329.  
  2330.      Jameco Electronics at 415-592-8097 sells National NS16550AN chips mail
  2331.      order (credit card) in small quantities.  N.B.: Current WD16C550 chips
  2332.      may not function properly at low speeds.
  2333.  
  2334.      Another source is Arrow Electronics at 800-932-7769 (516-467-1000).  Be
  2335.      sure to ask for the NS16550AN.  It's important to get the "AFN" or "AN"
  2336.      part, other versions won't do.
  2337.  
  2338.      We have received reports of problems with a Western Digital 16550 type
  2339.      chip.
  2340.  
  2341.  
  2342.      13.10.1  Everex Internal Modems
  2343.      Numerous reports have been received concerning difficulties with Everex
  2344.      modem cards.  Some of these cards contain buggy 8250 chips which are not
  2345.      up to the demands of full duplex streaming protocols such as ZMODEM.
  2346.      Replacing the buggy 8250 chip with a 16450 (or better yet NS16550AN)
  2347.      chip corrects these problems.
  2348.  
  2349.  
  2350.      13.11  Weird Iron
  2351.  
  2352.      A few machines, some with V20 CPUs, don't like DSZ.COM.  We have not
  2353.      been able to repeat this; TeleGodzilla (using a V20) runs DSZ.COM
  2354.      without a hitch.  Switching to DSZ.EXE has cleared up the problems on
  2355.      other machines.
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.      Chapter 13 Pg 38      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2362.  
  2363.  
  2364.      13.12  Will the real YMODEM please stand up?
  2365.  
  2366.      Some XMODEM programs claiming to support YMODEM neither send nor accept
  2367.      the YMODEM pathname block.  1024 byte XMODEM is XMODEM-1k, not the
  2368.      YMODEM defined by Ward Christensen in 1985 when he invented the term
  2369.      YMODEM.  1987 and later versions of YMODEM.DOC remind the reader of the
  2370.      official YMODEM definition, which has not changed since YMODEM's coinage
  2371.      in 1985.
  2372.  
  2373.  
  2374.      13.13  286 and 386 Extended Memory
  2375.  
  2376.      Virtual memory disk caches and ramdisks using 80286 or 80386 extended
  2377.      memory require a kludge hardware reset of the CPU chip to return to the
  2378.      normal "real mode" after accessing extended memory.  This interference
  2379.      to the interrupt response time causes lost characters on comm ports, and
  2380.      may be minimized by specifying shorter memory transfers.
  2381.  
  2382.      Switching to a National NS16550AN or NS16550AFN UART chip helps
  2383.      tremendously, allowing transfers at 115200 bps instead of 9600 bps with
  2384.      a standard 8250.  Please refer to the subchapter on "Brain Damaged
  2385.      UARTs".
  2386.  
  2387.  
  2388.      13.14  Disk Caches
  2389.  
  2390.      Cache programs often interfere with ZMODEM transfers.  In one instance,
  2391.      replacing Microsoft's SMARTDRV.SYS with Multisoft's SUPERPCK.EXE helped.
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.      Chapter 14 Pg 39      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2421.  
  2422.  
  2423.      14.  ASSOCIATED DOCUMENTS
  2424.  
  2425.      Consult the Professional-YAM, PowerCom, or ZCOMM manual chapter "OPTIONS
  2426.      FOR FILE TRANSFERS" for descriptions of the file transfer options.  The
  2427.      "FILE TRANSFER BASICS" chapter explains the relative merits of XMODEM,
  2428.      YMODEM, ZMODEM, and other protocols and gives tips on their use.  The
  2429.      "MAIN COMMANDS" chapter describes the rb, rx, rc, rz, sb, and sz
  2430.      commands.  The "MODEM INTERFACING" and "FLOW CONTROL" chapters contain
  2431.      important information on the use of buffered modems with DSZ.
  2432.  
  2433.      Information on the ZMODEM Inter Application File Transfer Protocol is
  2434.      available in Omen Technology's "ZMODEM DEVELOPER's COLLECTION" ($89.00).
  2435.  
  2436.      Unix, Xenix and VMS C Source code for XMODEM, YMODEM, and ZMODEM
  2437.      transfers to/from Omen Technology Products is included in RZSZ.ZOO.[1]
  2438.      This file includes a Pro-YAM/ZCOMM script to upload a bootstrap file to
  2439.      a Unix system, force its compilation, and (if the compilation is
  2440.      successful) upload the rz/sz source files.
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.      __________
  2471.  
  2472.       1. Technical support for rzsz is available on a paid consulting basis.
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.      Chapter 15 Pg 40      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2480.  
  2481.  
  2482.      15.  FILES
  2483.  
  2484.      DSZ.COM, DSZ.DOC, 2A-PIF.DVP, 2S-PIF.DVP, 2T-PIF.DVP, BBS_REG.TXT,
  2485.      DS.BAT, FIX.BAT, MAILER, ZMODEMAD.BAT, ZMODEMD.BAT, ZMODEMDR.BAT, and
  2486.      ZMODEMU.BAT constitute Omen Technology's DSZ.ZIP.  These same files are
  2487.      in DSZ.ZOO on the distribution diskette mailed to registered users.[1]
  2488.  
  2489.      2S-PIF.DVP, 2A-PIF.DVP, DS.BAT, and 2T-PIF.DVP are used with Quarterdeck
  2490.      Office Systems' DESQview multitasking executive for background
  2491.      operation.  Their use is described in a previous chapter of this
  2492.      document.
  2493.  
  2494.      ZCOMMDOC.ZIP (manual), ZCOMMEXE.ZIP (programs), ZCOMMHLP.ZIP (help
  2495.      processor and database), make up the ZCOMM communications tools
  2496.      shareware distribution.  The ZCOMM files are available on finer bulletin
  2497.      boards.
  2498.  
  2499.      RZSZ.ZOO contains ZMODEM "C" source code for COMPLETE VAX VMS and
  2500.      Unix/Xenix programs licensed for use transferring files to/from licensed
  2501.      Omen Technology products.[2]
  2502.  
  2503.      DSZ.EXE compiled with the Xenix to DOS XC provides moderately higher
  2504.      maximum throughput.  DSZ.EXE supports ZMODEM over 7 bit paths (E and P
  2505.      options), and specified control character quoting (-Q<string> option).
  2506.      The Xenix XC version requires somewhat more memory than DSZ.COM.
  2507.      DSZ.EXE does not support file sharing due to brain damage in the
  2508.      Microsoft stream I/O library.  The maximum DSZ.EXE I/O buffer size
  2509.      available with the B numeric parameter is 16384.  DSZ.EXE is available
  2510.      in DSZEXE.ZOO.
  2511.  
  2512.      ZCOMM and Pro-YAM also run faster than DSZ.COM.
  2513.  
  2514.      DSZBG.ZOO contains DSZBG.DOC.  Part of the DSZ registration disk (and
  2515.      not for public distribution), this file provides background information
  2516.      on the ZCOMM/Pro-YAM commands provided in DSZ.  For non-registered
  2517.      users, the same information is available in ZCOMMDOC.ZIP.
  2518.  
  2519.      The ZOO archive format is a machine independent improvement on the PC-
  2520.      DOS specific .ARC format. The ZOO format has been precisely defined, and
  2521.      stable ZOO archivers/dearchivers are available on a wide variety of
  2522.  
  2523.  
  2524.      __________
  2525.  
  2526.       1. DSZ.ZOO is supplied to registrants instead of DSZ.ZIP because not
  2527.          all registrants have copies of unarchiving programs.  The
  2528.          registration disk includes a copy of LOOZ, a simple dearchiver for
  2529.          ZOO files.
  2530.  
  2531.       2. Technical support for rzsz is available on a paid consulting basis.
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.      Chapter 15 Pg 41      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2539.  
  2540.  
  2541.      systems.
  2542.  
  2543.      LOOZ.EXE unpacks .ZOO archives.  LOOZ.DOC describes LOOZ.EXE.  Be
  2544.      certain to type the arguments to LOOZ in lower case, UPPER CASE WILL NOT
  2545.      WORK.
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.      Chapter 16 Pg 42      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2598.  
  2599.  
  2600.      16.  Other Omen Technology Products
  2601.  
  2602.      16.1  Professional-YAM COMMS TOOLS
  2603.  
  2604.      Omen Technology makes Professional-YAM, a comprehensive comms program
  2605.      with unmatched power.  Flavors are available for PC-DOS, Unix, Xenix,
  2606.      and OS/2 Protected mode.  Unix source code is available under license.
  2607.  
  2608.  
  2609.      16.2  ZCOMM: Industrial Strength COMMS Shareware
  2610.  
  2611.      ZCOMM is a full featured shareware version with a $40.00 basic
  2612.      registration.  Registered DSZ users upgrading to ZCOMM get a free
  2613.      binder!
  2614.  
  2615.  
  2616.      16.3  ZMODEM Developer's Collection
  2617.  
  2618.      Omen Technology sells the "ZMODEM Developer's Collection" for $89.00.
  2619.      This diskette includes the most recent public domain versions of
  2620.      YMODEM.DOC, ZMODEM.DOC and the Unix/VMS rz/sz C source code for YMODEM
  2621.      and ZMODEM.  A set of public domain PC-DOS executable programs are
  2622.      included for convenience.  For many developers, this collection affords
  2623.      a significant labor savings in obtaining these materials.
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.      Chapter 17 Pg 43      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2657.  
  2658.  
  2659.      17.  FAIR PLAY
  2660.  
  2661.      Unlike snazzy menu interfaces, reliable high speed transfer protocols
  2662.      take many hours of testing, often over expensive phone connections, to
  2663.      develop.  Two decades of communications experience and protocol testing
  2664.      are distilled in DSZ.
  2665.  
  2666.      DSZ is a user supported program developed and supported by Chuck
  2667.      Forsberg, owner of Omen Technology.  Countless hours of work and
  2668.      expen$ive resources went to develop and support DSZ for the myriad
  2669.      environments users use it in.  The fact that most of the problems people
  2670.      encounter with DSZ are caused by other software, hardware problems,
  2671.      failure to read the supplied documentation, or pirating has not kept
  2672.      users from seeking and getting help, even if it means calling the author
  2673.      in the middle of his sleep.
  2674.  
  2675.      Beyond this, the world of communications is constantly evolving, and it
  2676.      requires a significant ongoing effort to keep DSZ and its documentation
  2677.      up to date with the current state of the art.  Individuals with little
  2678.      knowledge of the dynamic nature of telecommunications (or hidden
  2679.      agendas) have misrepresented the frequency of enhancements to DSZ as a
  2680.      sign that DSZ is "unstable" and unworthy of "serious consideration".  If
  2681.      you think such sniping is fair play, you are more than welcome to use
  2682.      one of the many other protocol programs available, each of which claim
  2683.      to offer speed and reliability comparable to DSZ.
  2684.  
  2685.      Non registered users are welcome to use DSZ for a reasonable evaluation
  2686.      period.  "Reasonable" means "until you've decided whether the program is
  2687.      worth $20.00".  It does not mean "until some competing program gets
  2688.      around to adding ZMODEM or True Ymodem(TM)".  Once you've evaluated DSZ,
  2689.      ethical use of DSZ requires registering the copy.
  2690.  
  2691.      DSZ is not and never has been Public Domain.  Every version of DSZ has
  2692.      included a Copyright Notice and a prohibition against sale or
  2693.      modification.  There is no usage counter or other Trojan Horse in DSZ,
  2694.      but if you use this program, you have a moral and ethical obligation to
  2695.      register it.
  2696.  
  2697.      Paid registration enables OverThruster(TM), YMODEM-g, and other advanced
  2698.      features that are present in DSZ.ARC in encrypted form.  The
  2699.      registration package serializes and decodes all past and future versions
  2700.      of DSZ.COM and DSZ.EXE.  You can get a fully featured upgrade of DSZ
  2701.      simply by downloading a newer version from TeleGodzilla, GEnie (IBM
  2702.      Roundtable), CompuServe, and trusted bulletin boards.
  2703.  
  2704.      17.1  Sharing DSZ Files
  2705.  
  2706.      You are welcome to share unmodified copies of DSZ.ARC or DSZ.ZOO with
  2707.      your friends and associates for their evaluation.  This documentation
  2708.      file and the MAILER file must be provided with all copies of DSZ except
  2709.      by prior written permission from Omen Technology Inc.  Because of piracy
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.      Chapter 17 Pg 44      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2716.  
  2717.  
  2718.      problems, Omen Technology must INSIST that DSZ be distributed only as
  2719.      part of the DSZ.ARC file EXACTLY as provided by Omen Technology Inc, or
  2720.      in an archive which displays a CRC value for DSZ.COM equal to that shown
  2721.      in the Changes chapter.  If DSZ.ARC is "zipped" or otherwise repacked,
  2722.      no files may be added to or removed from the archive.
  2723.  
  2724.      If you see an improperly packed or otherwise modified DSZ archive or
  2725.      parts thereof in a bulletin board, please ask the board's operator to
  2726.      replace such files with DSZ.ARC exactly as provided by Omen Technology
  2727.      Inc.  Flame them until they behave ethically.
  2728.  
  2729.      No version of DSZ may be sold without the prior written permission of
  2730.      Omen Technology Inc.
  2731.  
  2732.      DSZ is not and never has been Copy Protected.  "DSZ unprotect" files
  2733.      have no function whatsoever except to aid and encourage the theft of
  2734.      Omen Technology's Intellectual Property.
  2735.  
  2736.      Distribution or use of programs or procedures that modify, patch,
  2737.      disassemble, decompile, or otherwise reverse engineer DSZ without the
  2738.      prior written permission by Omen Technology Inc is a bloody theft of
  2739.      intellectual property and services and is a violation of Federal
  2740.      Copyright Law.  The same applies to debug scripts and documentation
  2741.      written for the same purposes.  These perform the same function as
  2742.      pirate satellite and/or cable descramblers, to obtain benefit from
  2743.      encrypted communications without proper payment.  Piracy has been
  2744.      investigated by the FBI and prosecuted under federal statutes.
  2745.      Applicable law provides for damages and recovery of attorney's fees.
  2746.      Omen Technology has received reports of serious problems caused by
  2747.      unauthorized patches to DSZ, and cannot assume liability for the
  2748.      performance of the resultant code.  So far, none of the slime producing
  2749.      such bilge have seen fit to sign their real name and address to their
  2750.      cretinous attempts at ego gratification.
  2751.  
  2752.      Distribution of DSZ in any medium without this documentation file is an
  2753.      unauthorized modification to DSZ that deprives the rightful author of
  2754.      registration revenues.  That is a theft of intellectual property.  Such
  2755.      distribution damages the author by forcing the user and author to waste
  2756.      time and phone bills scrounging for the documentation, and answering
  2757.      questions that are fully covered in the documentation.
  2758.  
  2759.      If any version of DSZ is distributed with any other product, software or
  2760.      hardware, the product documentation must clearly and prominently state
  2761.      that the customer's continued use of DSZ requires registration directly
  2762.      with Omen Technology or its duly authorized agent(s).  When unregistered
  2763.      copies of DSZ are distributed on disk, a contemporary copy of
  2764.      ZCOMMDOC.ARC should be included on the same disk.
  2765.  
  2766.      Thank you for your support.
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.      Chapter 17 Pg 45      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2775.  
  2776.  
  2777.      17.2  REGISTRATION
  2778.  
  2779.      After a short evaluation period, ethical users must register their copy
  2780.      of DSZ with a check for $20.00 in U.S. funds sent to:
  2781.  
  2782.             Omen Technology Inc.
  2783.             P.O. Box 4681
  2784.             Portland, OR 97208
  2785.  
  2786.      The address on your check is sufficient, no need to fill out forms.
  2787.  
  2788.             For VISA/MC Registrations, you can also:
  2789.             Call VOICE: 503-621-3406
  2790.  
  2791.             Or register online: 503-621-3746  300-1200-2400 bps
  2792.             Or FAX the INSTANT MAILER to: 503-621-3735
  2793.  
  2794.      Don't bother scrounging for an envelope, just print the INSTANT MAILER
  2795.      included in this archive!
  2796.  
  2797.      Overseas registrations are sent out International Air Mail.  Users,
  2798.      especially those overseas, may choose to register their copy of DSZ for
  2799.      $25.00 U.S.  by providing their VISA or Mastercard card number with
  2800.      expiration date and their name as it appears on their credit card.
  2801.  
  2802.      Purchase orders for less than $150 must be prepaid.  Omen Technology Inc
  2803.      Federal TAX ID #: 930858776 Oregon TAX ID #: 536565
  2804.       .ne 12
  2805.  
  2806.      "Das Recht zur Benutzung von DSZ in Deutschland, Oesterreich und der
  2807.      Schweiz erwerben Sie durch Bezahlung der Lizenzgebuehr von DM 57,00
  2808.      (incl. Mwst) an RzK
  2809.  
  2810.      Doris Koepke
  2811.      Bitzenstr. 11
  2812.      D-5464 Asbach
  2813.  
  2814.      Tel. 02683-4547, FAX 49 2683 4537, Telex 86 3705 rzk d, CIS
  2815.      [70126,1660]. Sie erhalten dann von dort sowohl die neueste Version, als
  2816.      auch Ihren individuellen Software-Key, mit dem Sie auch kuenftige
  2817.      Shareware-Versionen "aufschliessen", also die in der Shareware Version
  2818.      nicht zugnglichen Programmfunktionen nutzbar machen koennen, per Post.
  2819.      Die Benutzung nicht registrierter Versionen stellt einen Verstoss
  2820.      geltenden Rechts dar und wird strafrechtlich verfolgt."
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.      Chapter 17 Pg 46      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2834.  
  2835.  
  2836.      *************************************************************************
  2837.      The user registration package includes a printed serial number password
  2838.      (SNP) card.  The registration "care package" diskette contains the
  2839.      latest versions of the DSZ programs, additional user documentation, and
  2840.      the installation program which uses your personal SNP to enable advanced
  2841.      features and bypass the opening advertisement.
  2842.  
  2843.      The registration package unlocks the extra value in all past and future
  2844.      versions of DSZ.COM and DSZ.EXE.
  2845.      *************************************************************************
  2846.  
  2847.      The unique serial number on the registration card is registered to the
  2848.      user, and is acceptable proof of registration to corporate auditors.
  2849.  
  2850.      The putsnp program inserts your unique DSZ Serial Number Password (SNP)
  2851.      into you copy of DSZ with the following command:
  2852.             putsnp dsz.com
  2853.      Putsnp accepts your SNP and asks appropriate questions before inserting
  2854.      the SNP to enable the extra value in DSZ.
  2855.  
  2856.      Some TSR programs and device deivers interfere with putsnp.  If you have
  2857.      a lockup running putsnp, run it without any device drivers or TSR
  2858.      programs (boot a plain DOS from floppy disk).
  2859.  
  2860.  
  2861.      The only legitimate way to disable the opening advertisement in DSZ is
  2862.      to insert an authorized SNP obtained from Omen Technology into DSZ with
  2863.      the putsnp program.  Any other suppression or modification of the
  2864.      opening screen is an illegal, unethical theft of services.  Omen
  2865.      Technology has received reports of serious problems caused by
  2866.      unauthorized patches to DSZ, and cannot assume liability for the
  2867.      performance of the resultant code.
  2868.  
  2869.      Piracy is stealing.
  2870.  
  2871.  
  2872.      17.3  Files on Registration Disk
  2873.  
  2874.      The following files are currently included on the Registration Disk sent
  2875.      to paid registrants.
  2876.  
  2877.      LOOZ.EXE       Program to unpack .ZOO archives.  Please note that
  2878.                     commands to LOOZ must be given in lower case.  "looz x
  2879.                     dsz" works, "LOOZ X DSZ" fails.  LOOZ.DOC describes
  2880.                     LOOZ.EXE.
  2881.  
  2882.  
  2883.      DSZEXE.ZOO     Contains DSZ.EXE.
  2884.  
  2885.                     To dearchive with looz: looz x dszexe (Note: x must be
  2886.                     lower case, X won't work!)
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.      Chapter 17 Pg 47      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2893.  
  2894.  
  2895.                     Type "looz" without arguments to see the help message.
  2896.  
  2897.  
  2898.      DSZ.ZOO        Contains DSZ.COM, this document, DESQview description
  2899.                     files, and an instant no-effort registration mailer.
  2900.  
  2901.                     To dearchive with looz: looz x dsz (Note: x must be lower
  2902.                     case, X won't work!)
  2903.  
  2904.                     RZSZ.ZOO contains ZMODEM "C" source code for COMPLETE VAX
  2905.                     VMS and Unix/Xenix programs licensed for use transferring
  2906.                     files to/from licensed Omen Technology products.[1]
  2907.  
  2908.                     To dearchive RZSZ with looz: looz x rzsz (Note: x must be
  2909.                     lower case, X won't work!)
  2910.  
  2911.  
  2912.      PUTSNP.EXE     Installs your unique registered serial number to enable
  2913.                     the extra value in DSZ.
  2914.  
  2915.  
  2916.      DSZBG.DOC (in DSZBG.ZOO) Background information for DSZ, consisting of
  2917.                     relevant parts of the ZCOMM User's Manual.  DSZBG.DOC is
  2918.                     for paid registered users only; registered bulletin
  2919.                     boards and unregistered users are welcome to read the
  2920.                     same information contained in the ZCOMM manual (contained
  2921.                     in ZCOMMDOC.ZIP).
  2922.  
  2923.                     To dearchive with looz: looz x dszbg (Note: x must be
  2924.                     lower case, X won't work!)
  2925.  
  2926.  
  2927.      17.4  Bulletin Board Registration
  2928.  
  2929.      Use and/or copying of DSZ by bulletin board sysops and/or systems is
  2930.      allowed according to the following conditions:
  2931.  
  2932.      I agree to feature the ZCOMM files (ZCOMMEXE.ZIP, ZCOMMDOC.ZIP,
  2933.      ZCOMMHLP.ZIP) for downloading, and to announce the availability and
  2934.      features of ZCOMM in any bulletins, help displays, or other displays
  2935.      that mention communications programs.  It is my responsibility to
  2936.      maintain reasonably current versions of the ZCOMM files on the BBS shown
  2937.      above.
  2938.  
  2939.      I understand that I am welcome to use DSZ on my bulletin board(s) from
  2940.  
  2941.  
  2942.      __________
  2943.  
  2944.       1. Technical support for rzsz is available on a paid consulting basis.
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.      Chapter 17 Pg 48      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  2952.  
  2953.  
  2954.      the time I sign and mail this document as long as I abide by the
  2955.      conditions above, including featuring the above mentioned ZCOMM files.
  2956.  
  2957.      I shall distribute DSZ.COM only as part of the DSZ.ZIP EXACTLY as
  2958.      provided by Omen Technology Inc, or "zipped" without any file additions,
  2959.      deletions, or modifications.  If I distribute DSZEXE.ZOO, I shall also
  2960.      maintain DSZ.ZIP in the same directory since DSZEXE.ZOO references files
  2961.      in DSZ.ZIP.
  2962.  
  2963.      If I see a modified DSZ archive or parts thereof in a file or collection
  2964.      of files (e.g., archive) on a bulletin board, I shall replace such files
  2965.      or archive members with the contents of DSZ.ZIP exactly as provided by
  2966.      Omen Technology Inc.  I shall report instances of noncompliance to Omen
  2967.      Technology.
  2968.  
  2969.      I shall not allow any version of dsz to be sold, modified, patched,
  2970.      hacked, disassembled, decompiled, or otherwise reverse engineered
  2971.      without the prior written permission of Omen Technology Inc.
  2972.  
  2973.      I understand that DSZ is not and never has been Copy Protected.  I fully
  2974.      understand that "DSZ unprotect" files have no function whatsoever except
  2975.      to aid and encourage the theft of Omen Technology's Intellectual
  2976.      Property.
  2977.  
  2978.      (For this BBS registration, a multi node bulletin board operating from a
  2979.      single, common file system counts as one machine.)
  2980.  
  2981.      The purpose of bulletin board registrations is to support and promote
  2982.      ZCOMM and Professional-YAM by popularizing the ZMODEM protocol and
  2983.      featuring the ZCOMM shareware files available for downloading.
  2984.  
  2985.      BBS registrations must be submitted on the bbs_reg form with signature
  2986.      and date, and must accompany a new paid DSZ or ZCOMM registration.  The
  2987.      paid registration that must accompany your BBS registration can be one
  2988.      submitted by one of your board's users.  Most boards have many
  2989.      unregistered DSZ users, so getting one of them to register their DSZ
  2990.      should pose no difficulty.  Since the paid registration may be from one
  2991.      of your board's users, you can get your BBS registered for free by
  2992.      getting one of your users to register his/her DSZ at the same time.
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.      Chapter 17 Pg 49      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3011.  
  3012.  
  3013.      18.  CHANGES
  3014.  
  3015.      Be sure to save your serial number/password (SNP) card and the putsnp
  3016.      program you received from Omen to use with future versions of DSZ you
  3017.      may download!
  3018.  
  3019.      The current DSZ version is maintained on GEnie (IBM Roundtable), EXEC-
  3020.      BBS, CompuServe (IBMCOM and CONSULT SIGs) as well as TeleGodzilla.
  3021.  
  3022.      DSZ is a popular program which has been the object of virus attacks.
  3023.      Pirated/hacked versions of DSZ have cost users and DSZ's developer
  3024.      thousands of dollars in lost time and other expenses, in addition to
  3025.      injuring of Omen Technology's reputation.
  3026.  
  3027.      Virus and Trojan code hidden in hacked/pirated copies of DSZ and
  3028.      programs claiming to "register DSZ" have caused loss of data.
  3029.  
  3030.      Name             Length                           Date        Time   CRC
  3031.  
  3032.      dsz.com          51628  Crunched   14%     44432  26 Jun 90   1:26p  e884
  3033.      dsz.exe          62001  Crunched   19%     50759  26 Jun 90   1:22p  b308
  3034.      PKZIP -vt 32 bit CRC: C06F1F5B   51628  dsz.com
  3035.      PKZIP -vt 32 bit CRC: 5A198AC3   62001  dsz.exe
  3036.  
  3037.      Your copy of DSZ should show this information as provided by
  3038.  
  3039.             arc v dsz
  3040.      or
  3041.            pkxarc -v dsz
  3042.            lharc v dsz
  3043.  
  3044.      ARC, and LHARC use a 16 bit CRC.
  3045.  
  3046.  
  3047.      ZIP uses a 32 bit CRC compatible with  the  Professional-YAM  and  ZCOMM
  3048.      "crc" command.
  3049.            pkzip -vt dsz
  3050.      The following Pro-YAM/ZCOMM command gives the 32 bit CRC for DSZ.COM:
  3051.  
  3052.      EXAMPLE: >>>c: crc dsz.com
  3053.  
  3054.  
  3055.      If your copy shows a different CRC or file length, insist on a
  3056.      legitimate copy and report the source of the bogus/pirated copy to Omen
  3057.      Technology Inc.  Omen Technology has received reports of serious
  3058.      problems caused by unauthorized patches to DSZ, and cannot assume
  3059.      liability for the performance of the resultant code.
  3060.  
  3061.      COM7 and COM8 are changed; see the "port" command above.
  3062.  
  3063.      A problem in the 1/17/89 and 2/2/89 versions corrupts files under
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.      Chapter 18 Pg 50      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3070.  
  3071.  
  3072.      unusual circumstances.  Please delete all instances of the 1/17/89 and
  3073.      2-02-89 version.
  3074.  
  3075.      A reminder: the -Z option is effective only when it is given to the
  3076.      sending program unless both are Omen Technology products revised Jan 22
  3077.      1990 or later.
  3078.  
  3079.      If you use PREFIX= or ONAME= with the "sb" or "sz" commands, these
  3080.      pathnames must be entered in lower case unless the underlying file
  3081.      system supports upper AND lower case.
  3082.  
  3083.      A boundary condition bug in the implementation of the rz/sz -rr option
  3084.      has been corrected.  When using the -rr option, both sending and
  3085.      receiving programs should be a March 8 1990 or later version.
  3086.      Otherwise, files may be needlessly retransmitted.  This problem does not
  3087.      affect the -r option.
  3088.  
  3089.      June 25 1990: When a ZMODEM block length is forced, the receiving DSZ
  3090.      writes the data to disk before acknowledging the block.  With DSZ.EXE
  3091.      and its maximum 16384 buffer size, you may be able to avoid overrun
  3092.      (Line Status Register 02) problems receiving to slow disk drives by
  3093.      using:
  3094.      dsz pB16384 z pl16384 rz
  3095.  
  3096.      ZMODEM-90(TM) speeds up GEnie ZMODEM downloads; see DSZOPTS in Chapter
  3097.      6.
  3098.  
  3099.      The "sz" command had an undocumented fallback to YMODEM, this has been
  3100.      removed for reliability reasons.
  3101.  
  3102.      The SlugBait (-s) option now causes DSZ to return success (0 exit code)
  3103.      if at least one file is transferred.
  3104.  
  3105.      April 11 1990: Enhancements for more efficient multitasking under
  3106.      DESQview and DESQview 386.  Code which prevented IRQ conflicts between
  3107.      COM1/COM3 and COM2/COM4 has been removed to allow use of COM7 and COM8
  3108.      without interference from DSZ running on COM1 or COM2..
  3109.  
  3110.      ZIP replaces ARC as the standard download distribution format on new
  3111.      files.
  3112.  
  3113.      March 21 1990: DSZ now sends the CANCEL sequence if it runs out of disk
  3114.      space while receiving a file with ZMODEM.
  3115.  
  3116.      DSZ now defaults to "handshake both" if the clear to send signal is high
  3117.      when DSZ selects the comm port regardless of the initial "baud rate".
  3118.  
  3119.      The P parameter can be set to -1 to disable the FIFO on the Western
  3120.      Digital WD16550 chip.  The WD16550 FIFO has been observed to lose
  3121.      characters when transmitting at slow baud rates.  A more elegant
  3122.      software solution to this hardware problem may be discovered in the
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.      Chapter 18 Pg 51      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3129.  
  3130.  
  3131.      future.
  3132.  
  3133.      Feb 25 1990: Doco change only. The "R" numeric parameter or the
  3134.      "restrict" command may be used to force partially received files to be
  3135.      deleted.  These features have been in DSZ for a long time, but never got
  3136.      into DSZ.DOC.
  3137.  
  3138.      Feb 18 1990: DSZPORT now accepts "portx" style arguments in addition to
  3139.      the traditional decimal number.  The -Wn option has been improved.
  3140.  
  3141.      Jan-28-1990: Doco improvements, especially to the "In Case of
  3142.      Difficulty" chapter.  BBS registration clarified for those that bother
  3143.      to read it.  Qmodem batch files fixed.  No change to the DSZ software.
  3144.  
  3145.      Jan-22-1990: ZMODEM-90(TM) extensions:
  3146.  
  3147.      Receiver specified window size: The -Wn option operates similarly to the
  3148.      -wn option.  The -Wn option is specified to the receiver, which sends
  3149.      this information to the sender.  Pro-YAM, ZCOMM and DSZ versions
  3150.      beginning with Jan 22 support this.
  3151.  
  3152.      Specified extra escaped characters: The "zmtxesc" and "zmrxesc" allow
  3153.      extra characters to be escaped when sending (zmtxesc) or receiving
  3154.      (zmrxesc).  Zmtxesc is effective sending to any ZMODEM program.  The sz
  3155.      commands in Omen products after Jan 22 1990 except for DSZ.COM recognize
  3156.      incoming "zmrxesc" requests.  TThe zmrxesc and zmtxesc string parameters
  3157.      consist of one or more printing characters corresponding to the control
  3158.      characters to be escaped.  To escape NULL:  set zmrxesc "@"
  3159.  
  3160.      Since DSZ does not support string parameters, a -Q<string> option unique
  3161.      to DSZ performs the same function as zmrxesc and zmtxesc.  If the
  3162.      Q<string> option is used in DSZOPT, it must be last.  To escape NULL:
  3163.      dsz sz -Q@ file.ext
  3164.  
  3165.      MobyTurbo(TM):
  3166.  
  3167.      MobyTurbo optimizes throughput on ZIP, ARC, and similar files without
  3168.      sacrificing ZMODEM's famous reliability on noisy lines.  MobyTurbo works
  3169.      with standard modems, error correcting modems with hardware flow
  3170.      control, and over paths that support ZMODEM and do not "eat" or
  3171.      otherwise respond to control characters.  This includes all paths that
  3172.      support YMODEM-g (or would except for errors).
  3173.  
  3174.      Activate MobyTurbo with the -m option to one or more of: sz command, rz
  3175.      command, or DSZOPT environment variable.
  3176.  
  3177.      ZMODEM over 7 bit paths:  (Not supported in DSZ.COM)
  3178.  
  3179.      A pair of ZMODEM-90 programs with 7-bit support operating over a 7 bit
  3180.      path should detect that fact and switch to one of two 7-bit path
  3181.      compatible encodings.  For testing, this can be forced with a "-E"
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.      Chapter 18 Pg 52      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3188.  
  3189.  
  3190.      option.
  3191.  
  3192.      Default 7-bit mode is RLE compression and 8th bit quoting similar to
  3193.      Kermit but more efficient because not so many control characters are
  3194.      quoted.  Use this default for text files.  Rubout and all control
  3195.      characters can be escaped with the -e option.  Individual control
  3196.      characters can be escaped with "zmtxesc" and "zmrxesc".
  3197.  
  3198.      Pack-7 instead of quoting is activated with the -P option.  (-P has no
  3199.      effect on 8 bit paths.) Pack-7 packs 4 bytes into 5 printing characters.
  3200.      This is more efficient than quoting for files where 25% more 8th bits
  3201.      appear than the number of characters saved by RLE compression.  (This
  3202.      statement applies to GIF, ARC, ZOO, and ZIP files.  It may or may not
  3203.      apply to other binary file formats, depending on the data.) Pack-7 will
  3204.      match or beat standard Kermit on ZIP files, even when Kermit has use of
  3205.      all 8 bits.
  3206.  
  3207.      SUPK412.ZIP 75136 bytes sent at 2400 bps direct connect from an
  3208.      Everec 1800 AT clone 8mHz/0ws to an 18 mHz Intel 386 motherboard.
  3209.  
  3210.      8-Bit line
  3211.      cps     Protocol/command
  3212.      156     MS Kermit 3.00 to MS Kermit 3.00  (defaults)
  3213.      182     MS Kermit 3.00 to MS Kermit 3.00  (windows=2 length=2000)
  3214.      184     MS Kermit 3.00 to Pro-YAM 17.51 (windows=2 length=2000)
  3215.      231     Pro-YAM 17.51 ZMODEM (defaults)
  3216.      237     Pro-YAM 17.51 ZMODEM-90(TM) MobyTurbo(TM) (sz -m)
  3217.  
  3218.      7-Bit line
  3219.      cps     Protocol/command
  3220.      156     MS Kermit 3.00 to MS Kermit 3.00  (windows=4 length=2000)
  3221.      190     Pro-YAM 17.51 ZMODEM-90 PACK-7 (sz -EP)
  3222.  
  3223.      Kermit transfers used 8 bit CRC, ZMODEM used 32 bit CRC.
  3224.  
  3225.  
  3226.      ************************************************************************
  3227.      ************************************************************************
  3228.  
  3229.      WHAT TO LOOK FOR:
  3230.  
  3231.      Performance     difference     with     MobyTurbo,     possible     side
  3232.      effects/incompatibilities.   MobyTurbo  logic  tests  for  software flow
  3233.      control incompatibilities: when does this test fail?
  3234.  
  3235.      Automatic detection of 7-bit paths.  Spurious detection of  7-bit  paths
  3236.      and failure to detect 7-bit paths.  (DSZ.EXE only)
  3237.  
  3238.  
  3239.      12-13-89  The Virus check was removed because of user confusion and slow
  3240.      startup under certain conditions.  Code has been added to prevent and/or
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.      Chapter 18 Pg 53      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3247.  
  3248.  
  3249.      recover from "line status register 18" errors.
  3250.  
  3251.      10-28-89 A T may be appended to DSZOPT or "dsz t  -T"  may  be  used  to
  3252.      force  DSZ  to  exit  after  it has recognized a ZMODEM AutoDownload(TM)
  3253.      request.
  3254.  
  3255.      10-24-89  BBS registered copies (serial  numbers  8000-8999  and  20000-
  3256.      23999) are now fully featured.
  3257.  
  3258.      The BBS registration form has been  modified.   Please  read  this  form
  3259.      carefully  before  applying  a  BBS  serial  number.   Use of BBS serial
  3260.      numbers (4000, 20000 series) acknowledges acceptance of this contract.
  3261.  
  3262.      The IMP/KMD compatibility file length information in the  YMODEM  header
  3263.      generated by the sb command now uses the correct byte ordering.  Changes
  3264.      to the XMODEM/YMODEM sz/sb commands were made  to  accommodate  programs
  3265.      that ise CK or CKL.  (As predicted in 1985, networks sometimes interfere
  3266.      with these sequences.)
  3267.  
  3268.      Files passed over because of creation errors at the  receiving  end  are
  3269.      now  counted  by the "sz" command as errors.  The receiving program must
  3270.      be a 9/89 or later version for this to be effective.
  3271.  
  3272.      The specified directory form of the rz and rb commands has been  enanced
  3273.      to accommodate certain forms of erroneous syntax.
  3274.  
  3275.      6-19-89 A documentation error (concerning DSZPORT) was corrected in  the
  3276.      DOC file.
  3277.  
  3278.      5-25-89  Corrects a protocol negotiation problem encountered when the rz
  3279.      or sz -e option is used.
  3280.  
  3281.      Host programs can now specify an alternate CANCEL sequence (not used for
  3282.      DOS and Unix).
  3283.  
  3284.      The ZMODEM "Slow Send" mode inserts a brief pause after  each  subpacket
  3285.      when  invoked with the -F option, or automatically when the "sz" command
  3286.      detects failing flow control.  The zmodem F numeric  parameter  (default
  3287.      1) sets the pause in tenths of seconds.
  3288.  
  3289.      4-24-89 The -rr option has been improved.  Long file compares  are  done
  3290.      in  two  stages  to  save  time  when  the  first portions do not match.
  3291.      Diagnostic code and undocumented commands have been removed to  decrease
  3292.      the program size.
  3293.  
  3294.      The 4-18 version introduces ZMODEM variable length headers of up  to  16
  3295.      bytes  information  field instead of the previous fixed 4.  Selection of
  3296.      variable length header capability is automatic and downward  compatible.
  3297.      Variable   length   headers   allow   future   extensions   to  ZMODEM's
  3298.      capabilities.
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.      Chapter 18 Pg 54      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3306.  
  3307.  
  3308.      ZMODEM Crash Recovery now understands the  -rr  option  to  compare  the
  3309.      CRC-32   of  the  assumed  common  file  segment  before  continuing  an
  3310.      incomplete file transfer.  The "zmodem R" numeric parameter may  be  set
  3311.      to limit the number of bytes in the files that are compared; the default
  3312.      R value of 0 allows all of the file to be compared, an  R  value  up  to
  3313.      32000  (up  to 2 billion on 32 bit flavors) limits the comparison to the
  3314.      first R bytes of the two files.  The ZMODEM -rr option is  supported  by
  3315.      Omen Tech versions April 18 1989 and later.
  3316.  
  3317.      When ZMODEM Crash Recovery detects incompatible source  and  destination
  3318.      file  contents,  the  destination  file  is now truncated to zero length
  3319.      before proceeding  with  the  transfer.   Crash  Recovery  requires  the
  3320.      destination file to be no longer than the source file.
  3321.  
  3322.      Error reporting on unregistered copies has been enhanced  to  point  the
  3323.      user to solutions described in the relevant chapters in DSZ.DOC.
  3324.  
  3325.      3-18-89 In order to work around a bug in the  new  TCOMM  bbs,  DSZ  now
  3326.      defaults  to  "handshake  on"  if the speed is greater than 2400 and the
  3327.      clear to send signal is high when DSZ selects the comm port.
  3328.  
  3329.      The "o" command has been added to disconnect the modem after a  terminal
  3330.      session:  "dsz  t  o" disconnects the modem when the terminal session is
  3331.      completed.
  3332.  
  3333.      The "P" (capital P) numeric parameter (q.v.) has been added  to  display
  3334.      and control the UART fifo on some clone chips.
  3335.  
  3336.      BBS registrations postmarked after Feb 28 1989 must be accompanied by  a
  3337.      paid  DSZ  registration.  The free program expired Feb 28 1989.  Outside
  3338.      help has been hired to process and verify  applications  received  under
  3339.      that program.
  3340.  
  3341.      2-23-89 The term function now sends BREAK in response to the ALT-B  key.
  3342.      Handling  of  the  Ctrl-Break  vector  has  been  changed so an untimely
  3343.      keyboarded Ctrl-C or Ctrl-Break will not hang DOS.
  3344.  
  3345.      2-15-89  DIRRX is enabled for BBS registrations (8xxx  numbers).   Logic
  3346.      has  been  added  to  simulate  transmit  interrupts  on chips that have
  3347.      problems in this area.  The "A" command does not  require  registration.
  3348.      An  interaction between ONAME= or PREFIX= and the file count display has
  3349.      been removed.  Time/date conversion routines have been enhanced to  deal
  3350.      with  files with missing dates.  The "v" command has been added to allow
  3351.      bbs programs to interrogate DSZ's serial number.
  3352.  
  3353.      2-06-89 A spurious error message at the completion of  YMODEM  downloads
  3354.      with  a  download  directory  specified  on  the  command  line has been
  3355.      eliminated.
  3356.  
  3357.      2-05-89 DSZ now returns a non 0 status unless at least one file has been
  3358.      transferred.    An   inappropriate   pathname/disk  specifier  check  on
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.      Chapter 18 Pg 55      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3365.  
  3366.  
  3367.      specified download directories has been removed.
  3368.  
  3369.      Previous versions:
  3370.  
  3371.      Added the "A" command to prevent pcAnywhere host mode  from  locking  up
  3372.      DSZ.   SlugBait  logic  has  been  simplified, reporting any failed file
  3373.      transfer where any of the last 1K of the file was sent with Q status.
  3374.  
  3375.      Introduced ZMODEM RLE compression with the -Z option.   (registered  DSZ
  3376.      copies  also  accept "Z" in the DSZOPT environment variable.) ZMODEM RLE
  3377.      compression packs runs of the same character in two or  three  character
  3378.      sequences.    Compression  is  useful  for  screen  dumps,  uncompressed
  3379.      workspaces, compiler listings, and other  files  rich  with  strings  of
  3380.      repeated  characters,  but  not  .ARC,  .ZOO and other compressed files.
  3381.      Compression percentages range from -1 per cent  for  already  compressed
  3382.      files  to  more  than  1000  per  cent  (10x  speedup!) for the Personal
  3383.      Computing text file benchmark(!).  When sending to programs that do  not
  3384.      support  ZMODEM compression, the -Z option is ignored.  The -Z option is
  3385.      effective when specified to the sending program only.
  3386.  
  3387.      Good news for tired frog stompers!  The ZMODEM rz/sz  programs  are  now
  3388.      available  in a VMS C flavor.  The VAX/VMS source files are contained in
  3389.      the RZSZ.ARC (RZSZ.ZOO) archive file.
  3390.  
  3391.      "Handshake slow" has been added to disable the RTS signal to  the  modem
  3392.      while writing to disk, even if the interrupt buffer is not chock full of
  3393.      bytes.  This should help systems with  excessive  interrupt  latency  on
  3394.      disk writes.
  3395.  
  3396.      Setting the v (verbose) parameter to  1  or  greater  causes  serialized
  3397.      copies to ring the bell when a transfer is done.
  3398.  
  3399.      DSZ.DOC has been extensively rewritten and  reorganized.   DSZ  supports
  3400.      the  advanced  buffering of the National NS16550AN, NS16550AFN and Intel
  3401.      82510 serial interface devices.   Please  refer  to  the  subchapter  on
  3402.      "Brain Damaged UARTs".
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.      Chapter 19 Pg 56      DSZ Reference Rev Jun-26-90        Typeset 6-26-90
  3424.  
  3425.  
  3426.      19.  ACKNOWLEDGEMENTS
  3427.  
  3428.      32 bit CRC code courtesy Gary S. Brown.
  3429.  
  3430.      ZMODEM-90(TM), MobyTurbo(TM), The High Reliability Software(TM), Demand
  3431.      Upgrade(TM), TurboLearn Script Writer(TM), Cybernetic Data Recovery(TM),
  3432.      ZMODEM AutoDownload(TM), Intelligent Crash Recovery(TM), Error
  3433.      Containment(TM), Full Time Capture(TM), True YMODEM(TM),
  3434.      OverThruster(TM), Password Guardian(TM), CryptoScript(TM), and
  3435.      TurboDial(TM) are Omen Technology trademarks.
  3436.  
  3437.      PowerCom was trademarked in 1985 by POLYTRON Corporation, Hillsboro
  3438.      Oregon.
  3439.  
  3440.      True YMODEM(TM) is an Omen Technology Trademark signifying YMODEM
  3441.      protocol support that meets the full YMODEM specification.
  3442.  
  3443.      DSZ and this documentation are Copyright 1990 by Omen Technology Inc,
  3444.      all rights reserved.  DSZ is not and never has been Public Domain.
  3445.      Every version of DSZ has included a Copyright Notice and a prohibition
  3446.      against sale or modification.  This prohibition applies to any theft of
  3447.      the intellectual property and trade secrets contained in DSZ by
  3448.      decompilation, disassembly, or any other form of reverse engineering
  3449.      including but not limited to profiling, tracing, data analysis, or
  3450.      monitoring the operation of DSZ.
  3451.  
  3452.      Omen Technology copyright applies to its expression of the encoding and
  3453.      compression ideas expressed as code and byte streams used in the
  3454.      ZMODEM-90 enhancements.
  3455.  
  3456.      DSZ is not and never has been Copy Protected.  "DSZ unprotect" files
  3457.      have no function whatsoever except to aid and encourage the theft of
  3458.      Omen Technology's Intellectual Property.
  3459.  
  3460.                            Omen Technology Incorporated
  3461.                           The High Reliability Software
  3462.  
  3463.                        17505-V Northwest Sauvie Island Road
  3464.                               Portland Oregon 97231
  3465.                     Modem: 503-621-3746 Speed 1200,2400,19200
  3466.                                 FAX: 503-621-3735
  3467.                          CompuServe:70007,2304  GEnie:CAF
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.